M cmd/slackchan/edit.go => cmd/slackchan/edit.go +1 -1
@@ 5,7 5,7 @@ import (
"os"
"sync"
- "github.com/joshleeb/slackchan/internal/slack"
+ "git.sr.ht/joshleeb/slackchan/internal/slack"
)
func doEdit(client slack.Client, statePath string) error {
M cmd/slackchan/fetch.go => cmd/slackchan/fetch.go +1 -1
@@ 1,7 1,7 @@
package main
import (
- "github.com/joshleeb/slackchan/internal/slack"
+ "git.sr.ht/joshleeb/slackchan/internal/slack"
)
func doFetch(client slack.Client, statePath string) error {
M cmd/slackchan/interact.go => cmd/slackchan/interact.go +1 -1
@@ 10,7 10,7 @@ import (
"sort"
"strings"
- "github.com/joshleeb/slackchan/internal/slack"
+ "git.sr.ht/joshleeb/slackchan/internal/slack"
)
const defaultEditor = "vim"
M cmd/slackchan/main.go => cmd/slackchan/main.go +1 -1
@@ 4,7 4,7 @@ import (
"fmt"
"os"
- "github.com/joshleeb/slackchan/internal/slack"
+ "git.sr.ht/joshleeb/slackchan/internal/slack"
"github.com/urfave/cli/v2"
)
M cmd/slackchan/state.go => cmd/slackchan/state.go +1 -1
@@ 5,7 5,7 @@ import (
"fmt"
"io/ioutil"
- "github.com/joshleeb/slackchan/internal/slack"
+ "git.sr.ht/joshleeb/slackchan/internal/slack"
)
type state struct {
M go.mod => go.mod +10 -2
@@ 1,9 1,17 @@
-module github.com/joshleeb/slackchan
+module git.sr.ht/joshleeb/slackchan
-go 1.16
+go 1.17
require (
github.com/slack-go/slack v0.9.0
github.com/urfave/cli/v2 v2.3.0
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
)
+
+require (
+ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
+ github.com/gorilla/websocket v1.4.2 // indirect
+ github.com/pkg/errors v0.8.0 // indirect
+ github.com/russross/blackfriday/v2 v2.0.1 // indirect
+ github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
+)