aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parenta1c5f02444b5124a8a96a57769e00728e828c7fc (diff)
downloadgitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.tar.gz
gitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.zip
Normalize files with gofmt
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/repo_form.go2
-rw-r--r--modules/base/tool.go4
-rw-r--r--modules/context/api.go2
-rw-r--r--modules/context/repo.go4
4 files changed, 6 insertions, 6 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index a8fd06ae46..1f5330d23a 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -8,8 +8,8 @@ import (
"net/url"
"strings"
- "github.com/Unknwon/com"
"code.gitea.io/gitea/models"
+ "github.com/Unknwon/com"
"github.com/go-macaron/binding"
macaron "gopkg.in/macaron.v1"
)
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 5b907a0fdd..bacdeb2924 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -22,10 +22,10 @@ import (
"unicode"
"unicode/utf8"
- "github.com/Unknwon/com"
- "github.com/Unknwon/i18n"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
+ "github.com/Unknwon/com"
+ "github.com/Unknwon/i18n"
"github.com/gogits/chardet"
)
diff --git a/modules/context/api.go b/modules/context/api.go
index d5041a1ec3..197fbd6df1 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -8,10 +8,10 @@ import (
"fmt"
"strings"
- "github.com/Unknwon/paginater"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
+ "github.com/Unknwon/paginater"
macaron "gopkg.in/macaron.v1"
)
diff --git a/modules/context/repo.go b/modules/context/repo.go
index d9d97d7a93..db808d743e 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -10,11 +10,11 @@ import (
"path"
"strings"
- "github.com/Unknwon/com"
+ "code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
- "code.gitea.io/git"
+ "github.com/Unknwon/com"
editorconfig "gopkg.in/editorconfig/editorconfig-core-go.v1"
macaron "gopkg.in/macaron.v1"
)