aboutsummaryrefslogtreecommitdiffstats
path: root/modules/context
diff options
context:
space:
mode:
authorRémy Boulanouar <rboulanouar@gmail.com>2016-11-03 13:29:56 +0100
committerAndrey Nering <andrey.nering@gmail.com>2016-11-03 10:29:56 -0200
commit2d68bd1ef98849da54c869b103e93719d1accb5e (patch)
tree8bd932ad547e40cb050fce878bbade6b2ace40e0 /modules/context
parent507ce134fa1450a10f0dfd47fcb19facadbe3ae1 (diff)
downloadgitea-2d68bd1ef98849da54c869b103e93719d1accb5e.tar.gz
gitea-2d68bd1ef98849da54c869b103e93719d1accb5e.zip
Change import reference to match gitea instead of gogs (#37)
Diffstat (limited to 'modules/context')
-rw-r--r--modules/context/api.go6
-rw-r--r--modules/context/api_org.go2
-rw-r--r--modules/context/auth.go4
-rw-r--r--modules/context/context.go10
-rw-r--r--modules/context/org.go4
-rw-r--r--modules/context/repo.go6
6 files changed, 16 insertions, 16 deletions
diff --git a/modules/context/api.go b/modules/context/api.go
index 770daa3ad3..62be56d320 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -11,9 +11,9 @@ import (
"github.com/Unknwon/paginater"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
type APIContext struct {
diff --git a/modules/context/api_org.go b/modules/context/api_org.go
index ecf60a1905..c0cdf7b3ab 100644
--- a/modules/context/api_org.go
+++ b/modules/context/api_org.go
@@ -5,7 +5,7 @@
package context
import (
- "github.com/gogits/gogs/models"
+ "github.com/go-gitea/gitea/models"
)
type APIOrganization struct {
diff --git a/modules/context/auth.go b/modules/context/auth.go
index 746771791e..807183e452 100644
--- a/modules/context/auth.go
+++ b/modules/context/auth.go
@@ -10,8 +10,8 @@ import (
"github.com/go-macaron/csrf"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/setting"
)
type ToggleOptions struct {
diff --git a/modules/context/context.go b/modules/context/context.go
index ac46bb38fb..82e3cbf27b 100644
--- a/modules/context/context.go
+++ b/modules/context/context.go
@@ -18,11 +18,11 @@ import (
"github.com/go-macaron/session"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
// Context represents context of a request.
diff --git a/modules/context/org.go b/modules/context/org.go
index 24ef5ef6a8..880554a4b1 100644
--- a/modules/context/org.go
+++ b/modules/context/org.go
@@ -9,8 +9,8 @@ import (
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/setting"
)
type Organization struct {
diff --git a/modules/context/repo.go b/modules/context/repo.go
index f078523e75..e4c2c597c5 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -16,9 +16,9 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
type PullRequest struct {