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 /pkg/context/context.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 'pkg/context/context.go')
-rw-r--r-- | pkg/context/context.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkg/context/context.go b/pkg/context/context.go index bcb87a9a..c4aa2e75 100644 --- a/pkg/context/context.go +++ b/pkg/context/context.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "github.com/Unknwon/com" + "github.com/unknwon/com" "github.com/go-macaron/cache" "github.com/go-macaron/csrf" "github.com/go-macaron/i18n" @@ -20,12 +20,12 @@ import ( log "gopkg.in/clog.v1" "gopkg.in/macaron.v1" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/auth" - "github.com/gogs/gogs/pkg/form" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/template" + "gogs.io/gogs/models" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/auth" + "gogs.io/gogs/pkg/form" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/pkg/template" ) // Context represents context of a request. |