diff options
author | Unknwon <u@gogs.io> | 2019-10-23 23:03:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 23:03:17 -0700 |
commit | 613139e7bef81d3573e7988a47eb6765f3de347a (patch) | |
tree | 49de7277898d3ff47a122c072568edb8ed4c9ac9 /routes/api/v1/user/user.go | |
parent | fb100dbf98f02e4c631d142ff0f52ec29ee2f00c (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/user/user.go')
-rw-r--r-- | routes/api/v1/user/user.go | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |