aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/convert
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-10 17:24:48 +0100
committerThibault Meyer <0xbaadf00d@users.noreply.github.com>2016-11-10 17:24:48 +0100
commit4247304f5aeb791e3e201947478eef4964744146 (patch)
tree47a27cdaafe235512921fb1aba4a5c6738e4c384 /routers/api/v1/convert
parent1c0a4e166fc3c37ebed528fc41b1cbca5a00556d (diff)
downloadgitea-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/convert')
-rw-r--r--routers/api/v1/convert/convert.go6
-rw-r--r--routers/api/v1/convert/utils.go2
2 files changed, 4 insertions, 4 deletions
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index a43e00077a..59431e92fa 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -9,10 +9,10 @@ import (
"github.com/Unknwon/com"
- "github.com/go-gitea/git"
- api "github.com/go-gitea/go-sdk/gitea"
+ "code.gitea.io/git"
+ api "code.gitea.io/go-sdk/gitea"
- "github.com/go-gitea/gitea/models"
+ "code.gitea.io/gitea/models"
)
func ToEmail(email *models.EmailAddress) *api.Email {
diff --git a/routers/api/v1/convert/utils.go b/routers/api/v1/convert/utils.go
index 0062157c84..66fb21be67 100644
--- a/routers/api/v1/convert/utils.go
+++ b/routers/api/v1/convert/utils.go
@@ -5,7 +5,7 @@
package convert
import (
- "github.com/go-gitea/gitea/modules/setting"
+ "code.gitea.io/gitea/modules/setting"
)
// ToCorrectPageSize makes sure page size is in allowed range.