From c956595d737e12ddab707b8887d7d222d7c40f0d Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Sat, 27 Mar 2021 13:00:22 +0100 Subject: [PATCH] relocate repo --- cmd/gotosocial/main.go | 10 +++++----- go.mod | 4 ++-- go.sum | 4 ++-- internal/action/action.go | 2 +- internal/db/actions.go | 4 ++-- internal/db/db.go | 6 +++--- internal/db/model/application.go | 2 +- internal/db/pg.go | 6 +++--- internal/federation/federation.go | 2 +- internal/gotosocial/actions.go | 6 +++--- internal/gotosocial/gotosocial.go | 8 ++++---- internal/module/account/account.go | 16 ++++++++-------- internal/module/account/account_test.go | 12 ++++++------ internal/module/account/validation.go | 8 ++++---- internal/module/app/app.go | 12 ++++++------ internal/module/auth/auth.go | 12 ++++++------ internal/module/auth/auth_test.go | 10 +++++----- internal/module/module.go | 2 +- internal/oauth/clientstore.go | 6 +++--- internal/oauth/clientstore_test.go | 6 +++--- internal/oauth/oauth.go | 12 ++++++------ internal/oauth/tokenstore.go | 12 ++++++------ internal/router/router.go | 2 +- mocks/internal/action/GTSAction.go | 2 +- mocks/internal/db/DB.go | 4 ++-- mocks/internal/module/ClientAPIModule.go | 2 +- mocks/internal/oauth/Server.go | 2 +- 27 files changed, 87 insertions(+), 87 deletions(-) diff --git a/cmd/gotosocial/main.go b/cmd/gotosocial/main.go index 41837c1..4d721f5 100644 --- a/cmd/gotosocial/main.go +++ b/cmd/gotosocial/main.go @@ -22,11 +22,11 @@ import ( "fmt" "os" - "github.com/gotosocial/gotosocial/internal/action" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/gotosocial" - "github.com/gotosocial/gotosocial/internal/log" + "github.com/superseriousbusiness/gotosocial/internal/action" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/gotosocial" + "github.com/superseriousbusiness/gotosocial/internal/log" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" diff --git a/go.mod b/go.mod index 178d8bd..d2fe926 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gotosocial/gotosocial +module github.com/superseriousbusiness/gotosocial go 1.16 @@ -11,13 +11,13 @@ require ( github.com/go-pg/pg/v10 v10.8.0 github.com/golang/mock v1.4.4 // indirect github.com/google/uuid v1.2.0 - github.com/gotosocial/oauth2/v4 v4.2.1-0.20210316171520-7b12112bbb88 github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.1 // indirect github.com/onsi/ginkgo v1.15.0 // indirect github.com/onsi/gomega v1.10.5 // indirect github.com/sirupsen/logrus v1.8.0 github.com/stretchr/testify v1.7.0 + github.com/superseriousbusiness/oauth2/v4 v4.2.1-0.20210327102222-902aba1ef45f github.com/tidwall/btree v0.4.2 // indirect github.com/tidwall/buntdb v1.2.0 // indirect github.com/tidwall/pretty v1.1.0 // indirect diff --git a/go.sum b/go.sum index a5f9eec..beb83c5 100644 --- a/go.sum +++ b/go.sum @@ -104,8 +104,6 @@ github.com/gorilla/sessions v1.1.3 h1:uXoZdcdA5XdXF3QzuSlheVRUvjl+1rKY7zBXL68L9R github.com/gorilla/sessions v1.1.3/go.mod h1:8KCfur6+4Mqcc6S0FEfKuN15Vl5MgXW92AE8ovaJD0w= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gotosocial/oauth2/v4 v4.2.1-0.20210316171520-7b12112bbb88 h1:YJ//HmHOYJ4srm/LA6VPNjNisneMbY6TTM1xttV/ZQU= -github.com/gotosocial/oauth2/v4 v4.2.1-0.20210316171520-7b12112bbb88/go.mod h1:zl5kwHf/atRUrY5yOyDnk49Us1Ygs0BzdW4jKAgoiP8= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/imkira/go-interpol v1.1.0 h1:KIiKr0VSG2CUW1hl1jpiyuzuJeKUUpC8iM1AIE7N1Vk= github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= @@ -186,6 +184,8 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/superseriousbusiness/oauth2/v4 v4.2.1-0.20210327102222-902aba1ef45f h1:0YcjA/ieDuDFHJPg5w2hk3r5kIWNvEyl7GsoArxdI3s= +github.com/superseriousbusiness/oauth2/v4 v4.2.1-0.20210327102222-902aba1ef45f/go.mod h1:8p0a/BEN9hhsGzE3tPaFFlIZgxAaLyLN5KY0bPg9ZBc= github.com/tidwall/btree v0.0.0-20191029221954-400434d76274/go.mod h1:huei1BkDWJ3/sLXmO+bsCNELL+Bp2Kks9OLyQFkzvA8= github.com/tidwall/btree v0.3.0/go.mod h1:huei1BkDWJ3/sLXmO+bsCNELL+Bp2Kks9OLyQFkzvA8= github.com/tidwall/btree v0.4.2 h1:aLwwJlG+InuFzdAPuBf9YCAR1LvSQ9zhC5aorFPlIPs= diff --git a/internal/action/action.go b/internal/action/action.go index 8febed7..ce64d6d 100644 --- a/internal/action/action.go +++ b/internal/action/action.go @@ -21,7 +21,7 @@ package action import ( "context" - "github.com/gotosocial/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/sirupsen/logrus" ) diff --git a/internal/db/actions.go b/internal/db/actions.go index 01fb44b..c2d8f76 100644 --- a/internal/db/actions.go +++ b/internal/db/actions.go @@ -21,8 +21,8 @@ package db import ( "context" - "github.com/gotosocial/gotosocial/internal/action" - "github.com/gotosocial/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/action" + "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/sirupsen/logrus" ) diff --git a/internal/db/db.go b/internal/db/db.go index 641a2ef..4b35284 100644 --- a/internal/db/db.go +++ b/internal/db/db.go @@ -25,9 +25,9 @@ import ( "strings" "github.com/go-fed/activity/pub" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/gotosocial/pkg/mastotypes" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" "github.com/sirupsen/logrus" ) diff --git a/internal/db/model/application.go b/internal/db/model/application.go index 41a7deb..c8eea64 100644 --- a/internal/db/model/application.go +++ b/internal/db/model/application.go @@ -18,7 +18,7 @@ package model -import "github.com/gotosocial/gotosocial/pkg/mastotypes" +import "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" // Application represents an application that can perform actions on behalf of a user. // It is used to authorize tokens etc, and is associated with an oauth client id in the database. diff --git a/internal/db/pg.go b/internal/db/pg.go index b694c45..72cbd79 100644 --- a/internal/db/pg.go +++ b/internal/db/pg.go @@ -34,9 +34,9 @@ import ( "github.com/go-pg/pg/extra/pgdebug" "github.com/go-pg/pg/v10" "github.com/go-pg/pg/v10/orm" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/gotosocial/pkg/mastotypes" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" "github.com/sirupsen/logrus" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/federation/federation.go b/internal/federation/federation.go index f25e336..7d42596 100644 --- a/internal/federation/federation.go +++ b/internal/federation/federation.go @@ -27,7 +27,7 @@ import ( "github.com/go-fed/activity/pub" "github.com/go-fed/activity/streams/vocab" - "github.com/gotosocial/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/db" ) // New returns a go-fed compatible federating actor diff --git a/internal/gotosocial/actions.go b/internal/gotosocial/actions.go index 398c0b4..d9419d6 100644 --- a/internal/gotosocial/actions.go +++ b/internal/gotosocial/actions.go @@ -25,9 +25,9 @@ import ( "os/signal" "syscall" - "github.com/gotosocial/gotosocial/internal/action" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/action" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/sirupsen/logrus" ) diff --git a/internal/gotosocial/gotosocial.go b/internal/gotosocial/gotosocial.go index 8fffe24..3fb1e53 100644 --- a/internal/gotosocial/gotosocial.go +++ b/internal/gotosocial/gotosocial.go @@ -22,10 +22,10 @@ import ( "context" "github.com/go-fed/activity/pub" - "github.com/gotosocial/gotosocial/internal/cache" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/router" + "github.com/superseriousbusiness/gotosocial/internal/cache" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/router" ) // Gotosocial is the 'main' function of the gotosocial server, and the place where everything hangs together. diff --git a/internal/module/account/account.go b/internal/module/account/account.go index cc25bcd..81f8c36 100644 --- a/internal/module/account/account.go +++ b/internal/module/account/account.go @@ -24,14 +24,14 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/gotosocial/internal/module" - "github.com/gotosocial/gotosocial/internal/oauth" - "github.com/gotosocial/gotosocial/internal/router" - "github.com/gotosocial/gotosocial/pkg/mastotypes" - "github.com/gotosocial/oauth2/v4" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/gotosocial/internal/module" + "github.com/superseriousbusiness/gotosocial/internal/oauth" + "github.com/superseriousbusiness/gotosocial/internal/router" + "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" + "github.com/superseriousbusiness/oauth2/v4" "github.com/sirupsen/logrus" ) diff --git a/internal/module/account/account_test.go b/internal/module/account/account_test.go index 0292ce1..e84348e 100644 --- a/internal/module/account/account_test.go +++ b/internal/module/account/account_test.go @@ -27,12 +27,12 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/gotosocial/internal/oauth" - "github.com/gotosocial/oauth2/v4" - oauthmodels "github.com/gotosocial/oauth2/v4/models" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/gotosocial/internal/oauth" + "github.com/superseriousbusiness/oauth2/v4" + oauthmodels "github.com/superseriousbusiness/oauth2/v4/models" "github.com/sirupsen/logrus" "github.com/stretchr/testify/suite" ) diff --git a/internal/module/account/validation.go b/internal/module/account/validation.go index a0ad094..c168d04 100644 --- a/internal/module/account/validation.go +++ b/internal/module/account/validation.go @@ -21,10 +21,10 @@ package account import ( "errors" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/util" - "github.com/gotosocial/gotosocial/pkg/mastotypes" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/util" + "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" ) func validateCreateAccount(form *mastotypes.AccountCreateRequest, c *config.AccountsConfig, database db.DB) error { diff --git a/internal/module/app/app.go b/internal/module/app/app.go index b6dd685..fb75814 100644 --- a/internal/module/app/app.go +++ b/internal/module/app/app.go @@ -24,12 +24,12 @@ import ( "github.com/gin-gonic/gin" "github.com/google/uuid" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/gotosocial/internal/module" - "github.com/gotosocial/gotosocial/internal/oauth" - "github.com/gotosocial/gotosocial/internal/router" - "github.com/gotosocial/gotosocial/pkg/mastotypes" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/gotosocial/internal/module" + "github.com/superseriousbusiness/gotosocial/internal/oauth" + "github.com/superseriousbusiness/gotosocial/internal/router" + "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" "github.com/sirupsen/logrus" ) diff --git a/internal/module/auth/auth.go b/internal/module/auth/auth.go index 922aab8..e92edb4 100644 --- a/internal/module/auth/auth.go +++ b/internal/module/auth/auth.go @@ -32,12 +32,12 @@ import ( "github.com/gin-contrib/sessions" "github.com/gin-gonic/gin" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/gotosocial/internal/module" - "github.com/gotosocial/gotosocial/internal/oauth" - "github.com/gotosocial/gotosocial/internal/router" - "github.com/gotosocial/gotosocial/pkg/mastotypes" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/gotosocial/internal/module" + "github.com/superseriousbusiness/gotosocial/internal/oauth" + "github.com/superseriousbusiness/gotosocial/internal/router" + "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" "github.com/sirupsen/logrus" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/module/auth/auth_test.go b/internal/module/auth/auth_test.go index fa5cb16..7a01963 100644 --- a/internal/module/auth/auth_test.go +++ b/internal/module/auth/auth_test.go @@ -25,11 +25,11 @@ import ( "time" "github.com/google/uuid" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/gotosocial/internal/oauth" - "github.com/gotosocial/gotosocial/internal/router" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/gotosocial/internal/oauth" + "github.com/superseriousbusiness/gotosocial/internal/router" "github.com/sirupsen/logrus" "github.com/stretchr/testify/suite" "golang.org/x/crypto/bcrypt" diff --git a/internal/module/module.go b/internal/module/module.go index 8618d28..b3a49ac 100644 --- a/internal/module/module.go +++ b/internal/module/module.go @@ -19,7 +19,7 @@ // Package module is basically a wrapper for a lot of modules (in subdirectories) that satisfy the ClientAPIModule interface. package module -import "github.com/gotosocial/gotosocial/internal/router" +import "github.com/superseriousbusiness/gotosocial/internal/router" // ClientAPIModule represents a chunk of code (usually contained in a single package) that adds a set // of functionalities and side effects to a router, by mapping routes and handlers onto it--in other words, a REST API ;) diff --git a/internal/oauth/clientstore.go b/internal/oauth/clientstore.go index 1f9a128..e062383 100644 --- a/internal/oauth/clientstore.go +++ b/internal/oauth/clientstore.go @@ -21,9 +21,9 @@ package oauth import ( "context" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/oauth2/v4" - "github.com/gotosocial/oauth2/v4/models" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/oauth2/v4" + "github.com/superseriousbusiness/oauth2/v4/models" ) type clientStore struct { diff --git a/internal/oauth/clientstore_test.go b/internal/oauth/clientstore_test.go index 87995cb..6b25bc3 100644 --- a/internal/oauth/clientstore_test.go +++ b/internal/oauth/clientstore_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" - "github.com/gotosocial/gotosocial/internal/config" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/oauth2/v4/models" + "github.com/superseriousbusiness/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/oauth2/v4/models" "github.com/sirupsen/logrus" "github.com/stretchr/testify/suite" ) diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go index 5a7e3e4..66b5e79 100644 --- a/internal/oauth/oauth.go +++ b/internal/oauth/oauth.go @@ -24,12 +24,12 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/db/model" - "github.com/gotosocial/oauth2/v4" - "github.com/gotosocial/oauth2/v4/errors" - "github.com/gotosocial/oauth2/v4/manage" - "github.com/gotosocial/oauth2/v4/server" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/gotosocial/internal/db/model" + "github.com/superseriousbusiness/oauth2/v4" + "github.com/superseriousbusiness/oauth2/v4/errors" + "github.com/superseriousbusiness/oauth2/v4/manage" + "github.com/superseriousbusiness/oauth2/v4/server" "github.com/sirupsen/logrus" ) diff --git a/internal/oauth/tokenstore.go b/internal/oauth/tokenstore.go index bd18bb8..9b9fb95 100644 --- a/internal/oauth/tokenstore.go +++ b/internal/oauth/tokenstore.go @@ -24,9 +24,9 @@ import ( "fmt" "time" - "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/oauth2/v4" - "github.com/gotosocial/oauth2/v4/models" + "github.com/superseriousbusiness/gotosocial/internal/db" + "github.com/superseriousbusiness/oauth2/v4" + "github.com/superseriousbusiness/oauth2/v4/models" "github.com/sirupsen/logrus" ) @@ -92,7 +92,7 @@ func (pts *tokenStore) sweep() error { } // Create creates and store the new token information. -// For the original implementation, see https://github.com/gotosocial/oauth2/blob/master/store/token.go#L34 +// For the original implementation, see https://github.com/superseriousbusiness/oauth2/blob/master/store/token.go#L34 func (pts *tokenStore) Create(ctx context.Context, info oauth2.TokenInfo) error { t, ok := info.(*models.Token) if !ok { @@ -162,8 +162,8 @@ func (pts *tokenStore) GetByRefresh(ctx context.Context, refresh string) (oauth2 // and tokens with expired TTLs are automatically removed. Since Postgres doesn't have that feature, it's easier to set an expiry time and // then periodically sweep out tokens when that time has passed. // -// Note that this struct does *not* satisfy the token interface shown here: https://github.com/gotosocial/oauth2/blob/master/model.go#L22 -// and implemented here: https://github.com/gotosocial/oauth2/blob/master/models/token.go. +// Note that this struct does *not* satisfy the token interface shown here: https://github.com/superseriousbusiness/oauth2/blob/master/model.go#L22 +// and implemented here: https://github.com/superseriousbusiness/oauth2/blob/master/models/token.go. // As such, manual translation is always required between Token and the gotosocial *model.Token. The helper functions oauthTokenToPGToken // and pgTokenToOauthToken can be used for that. type Token struct { diff --git a/internal/router/router.go b/internal/router/router.go index afb5083..0e1768a 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -29,7 +29,7 @@ import ( "github.com/gin-contrib/sessions" "github.com/gin-contrib/sessions/memstore" "github.com/gin-gonic/gin" - "github.com/gotosocial/gotosocial/internal/config" + "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/sirupsen/logrus" ) diff --git a/mocks/internal/action/GTSAction.go b/mocks/internal/action/GTSAction.go index c2eb076..a8a1204 100644 --- a/mocks/internal/action/GTSAction.go +++ b/mocks/internal/action/GTSAction.go @@ -5,7 +5,7 @@ package mocks import ( context "context" - config "github.com/gotosocial/gotosocial/internal/config" + config "github.com/superseriousbusiness/gotosocial/internal/config" logrus "github.com/sirupsen/logrus" diff --git a/mocks/internal/db/DB.go b/mocks/internal/db/DB.go index 5b91b22..dbf8120 100644 --- a/mocks/internal/db/DB.go +++ b/mocks/internal/db/DB.go @@ -5,11 +5,11 @@ package mocks import ( context "context" - mastotypes "github.com/gotosocial/gotosocial/pkg/mastotypes" + mastotypes "github.com/superseriousbusiness/gotosocial/pkg/mastotypes" mock "github.com/stretchr/testify/mock" - model "github.com/gotosocial/gotosocial/internal/db/model" + model "github.com/superseriousbusiness/gotosocial/internal/db/model" net "net" diff --git a/mocks/internal/module/ClientAPIModule.go b/mocks/internal/module/ClientAPIModule.go index ea7c193..614d680 100644 --- a/mocks/internal/module/ClientAPIModule.go +++ b/mocks/internal/module/ClientAPIModule.go @@ -5,7 +5,7 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - router "github.com/gotosocial/gotosocial/internal/router" + router "github.com/superseriousbusiness/gotosocial/internal/router" ) // ClientAPIModule is an autogenerated mock type for the ClientAPIModule type diff --git a/mocks/internal/oauth/Server.go b/mocks/internal/oauth/Server.go index 21ae2f7..97cd67b 100644 --- a/mocks/internal/oauth/Server.go +++ b/mocks/internal/oauth/Server.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - oauth2 "github.com/gotosocial/oauth2/v4" + oauth2 "github.com/superseriousbusiness/oauth2/v4" ) // Server is an autogenerated mock type for the Server type