aboutsummaryrefslogtreecommitdiff
path: root/pkg/context/user.go
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 /pkg/context/user.go
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 'pkg/context/user.go')
-rw-r--r--pkg/context/user.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/context/user.go b/pkg/context/user.go
index a2297da8..17c6f570 100644
--- a/pkg/context/user.go
+++ b/pkg/context/user.go
@@ -7,8 +7,8 @@ package context
import (
"gopkg.in/macaron.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
)
// ParamsUser is the wrapper type of the target user defined by URL parameter, namely ':username'.