diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-11-14 15:00:02 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 15:00:02 -0200 |
commit | 81f227eace297269381d80b77ec0e470c5e7902d (patch) | |
tree | 624e711dfaa86bea48a3b6c15e3ee9c6780fc103 | |
parent | 904deb7d6a87282499ffbcc4e3faa3d96e7f8e87 (diff) | |
parent | 5054020c1fd3d9aa75d5bcbafd08ff20727df345 (diff) | |
download | gitea-81f227eace297269381d80b77ec0e470c5e7902d.tar.gz gitea-81f227eace297269381d80b77ec0e470c5e7902d.zip |
Merge pull request #168 from appleboy/gofmt
fix gofmt error.
-rw-r--r-- | cmd/dump.go | 2 | ||||
-rw-r--r-- | cmd/serve.go | 2 | ||||
-rw-r--r-- | cmd/web.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd/dump.go b/cmd/dump.go index cb6f3f43f0..027f251a0c 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -12,9 +12,9 @@ import ( "path" "time" - "github.com/Unknwon/cae/zip" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/setting" + "github.com/Unknwon/cae/zip" "github.com/urfave/cli" ) diff --git a/cmd/serve.go b/cmd/serve.go index 1833a01858..2578b26dfd 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -13,13 +13,13 @@ import ( "strings" "time" - "github.com/Unknwon/com" "code.gitea.io/git" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/base" "code.gitea.io/gitea/modules/httplib" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/setting" + "github.com/Unknwon/com" gouuid "github.com/satori/go.uuid" "github.com/urfave/cli" ) diff --git a/cmd/web.go b/cmd/web.go index 8cd3949be1..3d0c977798 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -184,7 +184,7 @@ func newMacaron() *macaron.Macaron { })) m.Use(toolbox.Toolboxer(m, toolbox.Options{ HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{ - &toolbox.HealthCheckFuncDesc{ + { Desc: "Database connection", Func: models.Ping, }, |