summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorThibault Meyer <meyer.thibault@gmail.com>2016-11-11 13:11:45 +0100
committerThibault Meyer <meyer.thibault@gmail.com>2016-11-11 13:11:45 +0100
commitddee4c8b5853d876ebd45ea4e7fe56208cd30eb5 (patch)
tree754d70f15ef0ddf51147b23afee48d6e3de98e11 /routers/repo
parenta1c5f02444b5124a8a96a57769e00728e828c7fc (diff)
downloadgitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.tar.gz
gitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.zip
Normalize files with gofmt
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/commit.go2
-rw-r--r--routers/repo/editor.go2
-rw-r--r--routers/repo/middlewares.go2
-rw-r--r--routers/repo/pull.go4
-rw-r--r--routers/repo/release.go2
-rw-r--r--routers/repo/view.go4
6 files changed, 8 insertions, 8 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index 0f5145a752..e3170b053d 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -8,12 +8,12 @@ import (
"container/list"
"path"
- "github.com/Unknwon/paginater"
"code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/setting"
+ "github.com/Unknwon/paginater"
)
const (
diff --git a/routers/repo/editor.go b/routers/repo/editor.go
index ed5cbd4408..fca5430173 100644
--- a/routers/repo/editor.go
+++ b/routers/repo/editor.go
@@ -11,6 +11,7 @@ import (
"path"
"strings"
+ "code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/auth"
"code.gitea.io/gitea/modules/base"
@@ -18,7 +19,6 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/template"
- "code.gitea.io/git"
)
const (
diff --git a/routers/repo/middlewares.go b/routers/repo/middlewares.go
index 5ffa100bff..94e007cd20 100644
--- a/routers/repo/middlewares.go
+++ b/routers/repo/middlewares.go
@@ -3,9 +3,9 @@ package repo
import (
"fmt"
+ "code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
- "code.gitea.io/git"
)
func SetEditorconfigIfExists(ctx *context.Context) {
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index 117b5684ec..83352d7f3c 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -10,14 +10,14 @@ import (
"path"
"strings"
- "github.com/Unknwon/com"
+ "code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/auth"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
- "code.gitea.io/git"
+ "github.com/Unknwon/com"
)
const (
diff --git a/routers/repo/release.go b/routers/repo/release.go
index 7010c832a0..3c49663830 100644
--- a/routers/repo/release.go
+++ b/routers/repo/release.go
@@ -7,13 +7,13 @@ package repo
import (
"fmt"
- "github.com/Unknwon/paginater"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/auth"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/markdown"
+ "github.com/Unknwon/paginater"
)
const (
diff --git a/routers/repo/view.go b/routers/repo/view.go
index d67ee9540f..8f49a12c32 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -12,7 +12,7 @@ import (
"path"
"strings"
- "github.com/Unknwon/paginater"
+ "code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
@@ -21,7 +21,7 @@ import (
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/template"
"code.gitea.io/gitea/modules/template/highlight"
- "code.gitea.io/git"
+ "github.com/Unknwon/paginater"
)
const (