diff --git a/api/feed.go b/api/feed.go index 79f8eca..d18c061 100644 --- a/api/feed.go +++ b/api/feed.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/config" ) diff --git a/api/item.go b/api/item.go index 7e31720..562d21e 100644 --- a/api/item.go +++ b/api/item.go @@ -4,7 +4,7 @@ import ( "strings" "sync" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/config" "github.com/RasmusLindroth/tut/util" "golang.org/x/exp/slices" diff --git a/api/poll.go b/api/poll.go index 4e394d5..2f1c260 100644 --- a/api/poll.go +++ b/api/poll.go @@ -3,7 +3,7 @@ package api import ( "context" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" ) func (ac *AccountClient) Vote(poll *mastodon.Poll, choices ...int) (*mastodon.Poll, error) { diff --git a/api/status.go b/api/status.go index 7ca8515..b53357c 100644 --- a/api/status.go +++ b/api/status.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/util" ) diff --git a/api/stream.go b/api/stream.go index 01e2ecd..f3a71ed 100644 --- a/api/stream.go +++ b/api/stream.go @@ -4,7 +4,7 @@ import ( "context" "sync" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" ) type MastodonType uint diff --git a/api/tags.go b/api/tags.go index b8fab99..412c1a6 100644 --- a/api/tags.go +++ b/api/tags.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" ) func (ac *AccountClient) FollowTag(tag string) error { diff --git a/api/types.go b/api/types.go index a969ff8..42c59ce 100644 --- a/api/types.go +++ b/api/types.go @@ -1,6 +1,6 @@ package api -import "github.com/RasmusLindroth/go-mastodon" +import "github.com/blacklight/go-mastodon" type RequestData struct { MinID mastodon.ID diff --git a/api/user.go b/api/user.go index 744901e..dca5358 100644 --- a/api/user.go +++ b/api/user.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" ) func (ac *AccountClient) GetUserByID(id mastodon.ID) (Item, error) { diff --git a/auth/add.go b/auth/add.go index 66ba46b..3556f32 100644 --- a/auth/add.go +++ b/auth/add.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/util" ) diff --git a/feed/feed.go b/feed/feed.go index 6565b91..06c0661 100644 --- a/feed/feed.go +++ b/feed/feed.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/config" "golang.org/x/exp/slices" diff --git a/go.mod b/go.mod index a47ce2f..7ef40b1 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module github.com/RasmusLindroth/tut go 1.18 require ( - github.com/RasmusLindroth/go-mastodon v0.0.21 github.com/adrg/xdg v0.4.0 github.com/atotto/clipboard v0.1.4 + github.com/blacklight/go-mastodon v0.0.23 github.com/gdamore/tcell/v2 v2.5.4 github.com/gen2brain/beeep v0.0.0-20220909211152-5a9ec94374f6 github.com/gobwas/glob v0.2.3 @@ -21,6 +21,7 @@ require ( ) require ( + github.com/RasmusLindroth/go-mastodon v0.0.21 // indirect github.com/aymerick/douceur v0.2.0 // indirect github.com/gdamore/encoding v1.0.0 // indirect github.com/go-toast/toast v0.0.0-20190211030409-01e6764cf0a4 // indirect diff --git a/go.sum b/go.sum index e7b9a45..cd83df6 100644 --- a/go.sum +++ b/go.sum @@ -6,6 +6,8 @@ github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= +github.com/blacklight/go-mastodon v0.0.23 h1:gU2FMkXAQYz505SXCe4t3N/b1HwsobEEb9VpAossqgQ= +github.com/blacklight/go-mastodon v0.0.23/go.mod h1:xXQxOPtM05cbeq/p5eBPFjawo6520+wdamVa7MxLQwo= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/ui/commands.go b/ui/commands.go index e975224..e078dd5 100644 --- a/ui/commands.go +++ b/ui/commands.go @@ -5,7 +5,7 @@ import ( "os" "strconv" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/config" "github.com/RasmusLindroth/tut/util" diff --git a/ui/composeview.go b/ui/composeview.go index f35de89..b3a55a1 100644 --- a/ui/composeview.go +++ b/ui/composeview.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/config" "github.com/RasmusLindroth/tut/util" diff --git a/ui/feed.go b/ui/feed.go index 30ae6e8..6c4e80d 100644 --- a/ui/feed.go +++ b/ui/feed.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/config" "github.com/RasmusLindroth/tut/feed" diff --git a/ui/input.go b/ui/input.go index 39a3fbc..1d1effb 100644 --- a/ui/input.go +++ b/ui/input.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/config" "github.com/RasmusLindroth/tut/util" diff --git a/ui/item.go b/ui/item.go index d7ba959..eac862c 100644 --- a/ui/item.go +++ b/ui/item.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/config" "github.com/icza/gox/timex" diff --git a/ui/item_list.go b/ui/item_list.go index c2a9911..77a7358 100644 --- a/ui/item_list.go +++ b/ui/item_list.go @@ -3,7 +3,7 @@ package ui import ( "fmt" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/rivo/tview" ) diff --git a/ui/item_status.go b/ui/item_status.go index 3c93905..a7310d5 100644 --- a/ui/item_status.go +++ b/ui/item_status.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/config" "github.com/RasmusLindroth/tut/util" diff --git a/ui/item_tag.go b/ui/item_tag.go index f0acde6..c9fb204 100644 --- a/ui/item_tag.go +++ b/ui/item_tag.go @@ -5,7 +5,7 @@ import ( "strconv" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/rivo/tview" ) diff --git a/ui/media.go b/ui/media.go index c97813c..9159581 100644 --- a/ui/media.go +++ b/ui/media.go @@ -8,7 +8,7 @@ import ( "os/exec" "path/filepath" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/atotto/clipboard" ) diff --git a/ui/pollview.go b/ui/pollview.go index 9825ca7..ec0b6df 100644 --- a/ui/pollview.go +++ b/ui/pollview.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/gdamore/tcell/v2" "github.com/rivo/tview" ) diff --git a/ui/preferenceview.go b/ui/preferenceview.go index 747334a..7812f96 100644 --- a/ui/preferenceview.go +++ b/ui/preferenceview.go @@ -3,7 +3,7 @@ package ui import ( "fmt" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/gdamore/tcell/v2" "github.com/rivo/tview" ) diff --git a/ui/tutview.go b/ui/tutview.go index 5494c8c..cbd7239 100644 --- a/ui/tutview.go +++ b/ui/tutview.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" "github.com/RasmusLindroth/tut/auth" "github.com/RasmusLindroth/tut/config" diff --git a/ui/view.go b/ui/view.go index 92519fd..86127d9 100644 --- a/ui/view.go +++ b/ui/view.go @@ -3,7 +3,7 @@ package ui import ( "log" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/RasmusLindroth/tut/api" ) diff --git a/ui/voteview.go b/ui/voteview.go index 599db67..29db282 100644 --- a/ui/voteview.go +++ b/ui/voteview.go @@ -3,7 +3,7 @@ package ui import ( "fmt" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/rivo/tview" ) diff --git a/util/util.go b/util/util.go index 738a313..0981fb5 100644 --- a/util/util.go +++ b/util/util.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "github.com/RasmusLindroth/go-mastodon" + "github.com/blacklight/go-mastodon" "github.com/adrg/xdg" "github.com/microcosm-cc/bluemonday" "github.com/rivo/tview"