diff options
Diffstat (limited to 'routes/api/v1/user')
-rw-r--r-- | routes/api/v1/user/app.go | 6 | ||||
-rw-r--r-- | routes/api/v1/user/email.go | 8 | ||||
-rw-r--r-- | routes/api/v1/user/follower.go | 4 | ||||
-rw-r--r-- | routes/api/v1/user/key.go | 12 | ||||
-rw-r--r-- | routes/api/v1/user/user.go | 10 |
5 files changed, 20 insertions, 20 deletions
diff --git a/routes/api/v1/user/app.go b/routes/api/v1/user/app.go index dcc3fca5..4e0b2fee 100644 --- a/routes/api/v1/user/app.go +++ b/routes/api/v1/user/app.go @@ -9,9 +9,9 @@ import ( api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/context" + "gogs.io/gogs/models" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/context" ) func ListAccessTokens(c *context.APIContext) { diff --git a/routes/api/v1/user/email.go b/routes/api/v1/user/email.go index e84353a6..7091beb6 100644 --- a/routes/api/v1/user/email.go +++ b/routes/api/v1/user/email.go @@ -9,10 +9,10 @@ import ( api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/pkg/context" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/routes/api/v1/convert" + "gogs.io/gogs/models" + "gogs.io/gogs/pkg/context" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/routes/api/v1/convert" ) func ListEmails(c *context.APIContext) { diff --git a/routes/api/v1/user/follower.go b/routes/api/v1/user/follower.go index 7ec533ff..022bd8c5 100644 --- a/routes/api/v1/user/follower.go +++ b/routes/api/v1/user/follower.go @@ -7,8 +7,8 @@ package user import ( api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/pkg/context" + "gogs.io/gogs/models" + "gogs.io/gogs/pkg/context" ) func responseApiUsers(c *context.APIContext, users []*models.User) { diff --git a/routes/api/v1/user/key.go b/routes/api/v1/user/key.go index 46e4df66..c0757811 100644 --- a/routes/api/v1/user/key.go +++ b/routes/api/v1/user/key.go @@ -8,12 +8,12 @@ import ( api "github.com/gogs/go-gogs-client" "net/http" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/context" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/routes/api/v1/convert" - "github.com/gogs/gogs/routes/api/v1/repo" + "gogs.io/gogs/models" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/context" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/routes/api/v1/convert" + "gogs.io/gogs/routes/api/v1/repo" ) func GetUserByParamsName(c *context.APIContext, name string) *models.User { diff --git a/routes/api/v1/user/user.go b/routes/api/v1/user/user.go index 70897166..121deeb7 100644 --- a/routes/api/v1/user/user.go +++ b/routes/api/v1/user/user.go @@ -7,14 +7,14 @@ package user import ( "net/http" - "github.com/Unknwon/com" + "github.com/unknwon/com" api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/context" - "github.com/gogs/gogs/pkg/markup" + "gogs.io/gogs/models" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/context" + "gogs.io/gogs/pkg/markup" ) func Search(c *context.APIContext) { |