aboutsummaryrefslogtreecommitdiff
path: root/routes/api/v1/org
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2019-10-23 23:03:17 -0700
committerGitHub <noreply@github.com>2019-10-23 23:03:17 -0700
commit613139e7bef81d3573e7988a47eb6765f3de347a (patch)
tree49de7277898d3ff47a122c072568edb8ed4c9ac9 /routes/api/v1/org
parentfb100dbf98f02e4c631d142ff0f52ec29ee2f00c (diff)
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
Diffstat (limited to 'routes/api/v1/org')
-rw-r--r--routes/api/v1/org/org.go8
-rw-r--r--routes/api/v1/org/team.go4
2 files changed, 6 insertions, 6 deletions
diff --git a/routes/api/v1/org/org.go b/routes/api/v1/org/org.go
index 943501dd..5ea80cec 100644
--- a/routes/api/v1/org/org.go
+++ b/routes/api/v1/org/org.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/routes/api/v1/convert"
- "github.com/gogs/gogs/routes/api/v1/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/routes/api/v1/user"
)
func CreateOrgForUser(c *context.APIContext, apiForm api.CreateOrgOption, user *models.User) {
diff --git a/routes/api/v1/org/team.go b/routes/api/v1/org/team.go
index ff2d4a2b..4b26552b 100644
--- a/routes/api/v1/org/team.go
+++ b/routes/api/v1/org/team.go
@@ -7,8 +7,8 @@ package org
import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/convert"
)
func ListTeams(c *context.APIContext) {