diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-10 17:24:48 +0100 |
---|---|---|
committer | Thibault Meyer <0xbaadf00d@users.noreply.github.com> | 2016-11-10 17:24:48 +0100 |
commit | 4247304f5aeb791e3e201947478eef4964744146 (patch) | |
tree | 47a27cdaafe235512921fb1aba4a5c6738e4c384 /routers/api/v1/user | |
parent | 1c0a4e166fc3c37ebed528fc41b1cbca5a00556d (diff) | |
download | gitea-4247304f5aeb791e3e201947478eef4964744146.tar.gz gitea-4247304f5aeb791e3e201947478eef4964744146.zip |
Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Diffstat (limited to 'routers/api/v1/user')
-rw-r--r-- | routers/api/v1/user/app.go | 6 | ||||
-rw-r--r-- | routers/api/v1/user/email.go | 10 | ||||
-rw-r--r-- | routers/api/v1/user/follower.go | 6 | ||||
-rw-r--r-- | routers/api/v1/user/key.go | 12 | ||||
-rw-r--r-- | routers/api/v1/user/user.go | 6 |
5 files changed, 20 insertions, 20 deletions
diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go index 0e8081f5f4..a822bd3185 100644 --- a/routers/api/v1/user/app.go +++ b/routers/api/v1/user/app.go @@ -5,10 +5,10 @@ package user import ( - api "github.com/go-gitea/go-sdk/gitea" + api "code.gitea.io/go-sdk/gitea" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/context" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/context" ) // https://github.com/gogits/go-gogs-client/wiki/Users#list-access-tokens-for-a-user diff --git a/routers/api/v1/user/email.go b/routers/api/v1/user/email.go index 1667ee5984..e5519e7e2f 100644 --- a/routers/api/v1/user/email.go +++ b/routers/api/v1/user/email.go @@ -5,12 +5,12 @@ package user import ( - api "github.com/go-gitea/go-sdk/gitea" + api "code.gitea.io/go-sdk/gitea" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/context" - "github.com/go-gitea/gitea/modules/setting" - "github.com/go-gitea/gitea/routers/api/v1/convert" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/context" + "code.gitea.io/gitea/modules/setting" + "code.gitea.io/gitea/routers/api/v1/convert" ) // https://github.com/gogits/go-gogs-client/wiki/Users-Emails#list-email-addresses-for-a-user diff --git a/routers/api/v1/user/follower.go b/routers/api/v1/user/follower.go index 661bdcbcef..c738dc9a73 100644 --- a/routers/api/v1/user/follower.go +++ b/routers/api/v1/user/follower.go @@ -5,10 +5,10 @@ package user import ( - api "github.com/go-gitea/go-sdk/gitea" + api "code.gitea.io/go-sdk/gitea" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/context" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/context" ) func responseApiUsers(ctx *context.APIContext, users []*models.User) { diff --git a/routers/api/v1/user/key.go b/routers/api/v1/user/key.go index 316ebb65c9..35f176a24c 100644 --- a/routers/api/v1/user/key.go +++ b/routers/api/v1/user/key.go @@ -5,13 +5,13 @@ package user import ( - api "github.com/go-gitea/go-sdk/gitea" + api "code.gitea.io/go-sdk/gitea" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/context" - "github.com/go-gitea/gitea/modules/setting" - "github.com/go-gitea/gitea/routers/api/v1/convert" - "github.com/go-gitea/gitea/routers/api/v1/repo" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/context" + "code.gitea.io/gitea/modules/setting" + "code.gitea.io/gitea/routers/api/v1/convert" + "code.gitea.io/gitea/routers/api/v1/repo" ) func GetUserByParamsName(ctx *context.APIContext, name string) *models.User { diff --git a/routers/api/v1/user/user.go b/routers/api/v1/user/user.go index 92ad7c81e5..7fa5126773 100644 --- a/routers/api/v1/user/user.go +++ b/routers/api/v1/user/user.go @@ -7,10 +7,10 @@ package user import ( "github.com/Unknwon/com" - api "github.com/go-gitea/go-sdk/gitea" + api "code.gitea.io/go-sdk/gitea" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/context" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/context" ) func Search(ctx *context.APIContext) { |