Merge pull request #168 from appleboy/gofmt

fix gofmt error.
This commit is contained in:
Andrey Nering 2016-11-14 15:00:02 -02:00 committed by GitHub
commit 81f227eace
3 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@ import (
"path" "path"
"time" "time"
"github.com/Unknwon/cae/zip"
"code.gitea.io/gitea/models" "code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/modules/setting"
"github.com/Unknwon/cae/zip"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View File

@ -13,13 +13,13 @@ import (
"strings" "strings"
"time" "time"
"github.com/Unknwon/com"
"code.gitea.io/git" "code.gitea.io/git"
"code.gitea.io/gitea/models" "code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/base" "code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/httplib" "code.gitea.io/gitea/modules/httplib"
"code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/modules/setting"
"github.com/Unknwon/com"
gouuid "github.com/satori/go.uuid" gouuid "github.com/satori/go.uuid"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View File

@ -184,7 +184,7 @@ func newMacaron() *macaron.Macaron {
})) }))
m.Use(toolbox.Toolboxer(m, toolbox.Options{ m.Use(toolbox.Toolboxer(m, toolbox.Options{
HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{ HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{
&toolbox.HealthCheckFuncDesc{ {
Desc: "Database connection", Desc: "Database connection",
Func: models.Ping, Func: models.Ping,
}, },