From 613139e7bef81d3573e7988a47eb6765f3de347a Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 23 Oct 2019 23:03:17 -0700 Subject: Enable Go modules (#5835) * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs --- routes/api/v1/admin/repo.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'routes/api/v1/admin/repo.go') diff --git a/routes/api/v1/admin/repo.go b/routes/api/v1/admin/repo.go index 7e0507bc..3d364f05 100644 --- a/routes/api/v1/admin/repo.go +++ b/routes/api/v1/admin/repo.go @@ -7,9 +7,9 @@ package admin import ( api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/pkg/context" - "github.com/gogs/gogs/routes/api/v1/repo" - "github.com/gogs/gogs/routes/api/v1/user" + "gogs.io/gogs/pkg/context" + "gogs.io/gogs/routes/api/v1/repo" + "gogs.io/gogs/routes/api/v1/user" ) func CreateRepo(c *context.APIContext, form api.CreateRepoOption) { -- cgit v1.2.3