diff options
author | Unknwon <u@gogs.io> | 2018-05-27 08:53:48 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-05-27 08:53:48 +0800 |
commit | aff42082441715559bb2e62e11550af1a946a8c9 (patch) | |
tree | d5349c3d486346210a989659e788b50589198e69 /pkg/context | |
parent | 73dbaefec50c4fc99a63c5be2891a1a34db18767 (diff) |
*: rename "gogits" to "gogs"
Diffstat (limited to 'pkg/context')
-rw-r--r-- | pkg/context/api.go | 6 | ||||
-rw-r--r-- | pkg/context/api_org.go | 2 | ||||
-rw-r--r-- | pkg/context/auth.go | 4 | ||||
-rw-r--r-- | pkg/context/context.go | 10 | ||||
-rw-r--r-- | pkg/context/org.go | 6 | ||||
-rw-r--r-- | pkg/context/repo.go | 8 |
6 files changed, 18 insertions, 18 deletions
diff --git a/pkg/context/api.go b/pkg/context/api.go index f4b95b4c..0aa025dc 100644 --- a/pkg/context/api.go +++ b/pkg/context/api.go @@ -12,7 +12,7 @@ import ( log "gopkg.in/clog.v1" "gopkg.in/macaron.v1" - "github.com/gogits/gogs/pkg/setting" + "github.com/gogs/gogs/pkg/setting" ) type APIContext struct { @@ -20,8 +20,8 @@ type APIContext struct { Org *APIOrganization } -// FIXME: move to github.com/gogits/go-gogs-client -const DOC_URL = "https://github.com/gogits/go-gogs-client/wiki" +// FIXME: move to github.com/gogs/go-gogs-client +const DOC_URL = "https://github.com/gogs/go-gogs-client/wiki" // Error responses error message to client with given message. // If status is 500, also it prints error to log. diff --git a/pkg/context/api_org.go b/pkg/context/api_org.go index ecf60a19..bb5afef5 100644 --- a/pkg/context/api_org.go +++ b/pkg/context/api_org.go @@ -5,7 +5,7 @@ package context import ( - "github.com/gogits/gogs/models" + "github.com/gogs/gogs/models" ) type APIOrganization struct { diff --git a/pkg/context/auth.go b/pkg/context/auth.go index 3ffc9c8f..60c020a0 100644 --- a/pkg/context/auth.go +++ b/pkg/context/auth.go @@ -10,8 +10,8 @@ import ( "github.com/go-macaron/csrf" "gopkg.in/macaron.v1" - "github.com/gogits/gogs/pkg/auth" - "github.com/gogits/gogs/pkg/setting" + "github.com/gogs/gogs/pkg/auth" + "github.com/gogs/gogs/pkg/setting" ) type ToggleOptions struct { diff --git a/pkg/context/context.go b/pkg/context/context.go index ed97395b..fdd02421 100644 --- a/pkg/context/context.go +++ b/pkg/context/context.go @@ -21,11 +21,11 @@ import ( log "gopkg.in/clog.v1" "gopkg.in/macaron.v1" - "github.com/gogits/gogs/models" - "github.com/gogits/gogs/models/errors" - "github.com/gogits/gogs/pkg/auth" - "github.com/gogits/gogs/pkg/form" - "github.com/gogits/gogs/pkg/setting" + "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" ) // Context represents context of a request. diff --git a/pkg/context/org.go b/pkg/context/org.go index 45c23bd6..1ff962ee 100644 --- a/pkg/context/org.go +++ b/pkg/context/org.go @@ -9,9 +9,9 @@ import ( "gopkg.in/macaron.v1" - "github.com/gogits/gogs/models" - "github.com/gogits/gogs/models/errors" - "github.com/gogits/gogs/pkg/setting" + "github.com/gogs/gogs/models" + "github.com/gogs/gogs/models/errors" + "github.com/gogs/gogs/pkg/setting" ) type Organization struct { diff --git a/pkg/context/repo.go b/pkg/context/repo.go index 761b8af0..d7c9f0ce 100644 --- a/pkg/context/repo.go +++ b/pkg/context/repo.go @@ -12,11 +12,11 @@ import ( "gopkg.in/editorconfig/editorconfig-core-go.v1" "gopkg.in/macaron.v1" - "github.com/gogits/git-module" + "github.com/gogs/git-module" - "github.com/gogits/gogs/models" - "github.com/gogits/gogs/models/errors" - "github.com/gogits/gogs/pkg/setting" + "github.com/gogs/gogs/models" + "github.com/gogs/gogs/models/errors" + "github.com/gogs/gogs/pkg/setting" ) type PullRequest struct { |