aboutsummaryrefslogtreecommitdiff
path: root/routes/repo
diff options
context:
space:
mode:
Diffstat (limited to 'routes/repo')
-rw-r--r--routes/repo/branch.go6
-rw-r--r--routes/repo/commit.go8
-rw-r--r--routes/repo/download.go6
-rw-r--r--routes/repo/editor.go14
-rw-r--r--routes/repo/http.go10
-rw-r--r--routes/repo/issue.go20
-rw-r--r--routes/repo/pull.go14
-rw-r--r--routes/repo/release.go10
-rw-r--r--routes/repo/repo.go14
-rw-r--r--routes/repo/setting.go16
-rw-r--r--routes/repo/view.go16
-rw-r--r--routes/repo/webhook.go12
-rw-r--r--routes/repo/wiki.go8
13 files changed, 77 insertions, 77 deletions
diff --git a/routes/repo/branch.go b/routes/repo/branch.go
index e24df65a..96308616 100644
--- a/routes/repo/branch.go
+++ b/routes/repo/branch.go
@@ -12,9 +12,9 @@ import (
"github.com/gogs/git-module"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/commit.go b/routes/repo/commit.go
index 8af8d8e0..504f76b8 100644
--- a/routes/repo/commit.go
+++ b/routes/repo/commit.go
@@ -10,10 +10,10 @@ import (
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/download.go b/routes/repo/download.go
index b11baa69..9b90a017 100644
--- a/routes/repo/download.go
+++ b/routes/repo/download.go
@@ -12,9 +12,9 @@ import (
"github.com/gogs/git-module"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
func ServeData(c *context.Context, name string, reader io.Reader) error {
diff --git a/routes/repo/editor.go b/routes/repo/editor.go
index 7afc825e..e1beb184 100644
--- a/routes/repo/editor.go
+++ b/routes/repo/editor.go
@@ -14,13 +14,13 @@ import (
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/template"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/template"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/http.go b/routes/repo/http.go
index 743605f5..57aa0213 100644
--- a/routes/repo/http.go
+++ b/routes/repo/http.go
@@ -20,11 +20,11 @@ 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/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
type HTTPContext struct {
diff --git a/routes/repo/issue.go b/routes/repo/issue.go
index 55786f8f..a9d739c5 100644
--- a/routes/repo/issue.go
+++ b/routes/repo/issue.go
@@ -13,18 +13,18 @@ import (
"strings"
"time"
- "github.com/Unknwon/com"
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/com"
+ "github.com/unknwon/paginater"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/markup"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/template"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/template"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/pull.go b/routes/repo/pull.go
index 80ca9387..a5f76654 100644
--- a/routes/repo/pull.go
+++ b/routes/repo/pull.go
@@ -9,17 +9,17 @@ import (
"path"
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/release.go b/routes/repo/release.go
index 5fdb9eaa..468f8965 100644
--- a/routes/repo/release.go
+++ b/routes/repo/release.go
@@ -10,11 +10,11 @@ import (
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/markup"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/repo/repo.go b/routes/repo/repo.go
index 96a8b45d..19c1e7fd 100644
--- a/routes/repo/repo.go
+++ b/routes/repo/repo.go
@@ -10,17 +10,17 @@ import (
"path"
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/setting.go b/routes/repo/setting.go
index 328ed931..9015916b 100644
--- a/routes/repo/setting.go
+++ b/routes/repo/setting.go
@@ -10,17 +10,17 @@ import (
"strings"
"time"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/gogs/git-module"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/view.go b/routes/repo/view.go
index 7c15af8f..b6464e44 100644
--- a/routes/repo/view.go
+++ b/routes/repo/view.go
@@ -12,18 +12,18 @@ import (
"path"
"strings"
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/paginater"
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/markup"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/template"
- "github.com/gogs/gogs/pkg/template/highlight"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/template"
+ "gogs.io/gogs/pkg/template/highlight"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/webhook.go b/routes/repo/webhook.go
index c92d9241..d22140af 100644
--- a/routes/repo/webhook.go
+++ b/routes/repo/webhook.go
@@ -8,17 +8,17 @@ import (
"fmt"
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/json-iterator/go"
git "github.com/gogs/git-module"
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/form"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/repo/wiki.go b/routes/repo/wiki.go
index 8035b845..29979343 100644
--- a/routes/repo/wiki.go
+++ b/routes/repo/wiki.go
@@ -11,10 +11,10 @@ import (
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/markup"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/markup"
)
const (