Skip to content

Commit 81f227e

Browse files
authored
Merge pull request #168 from appleboy/gofmt
fix gofmt error.
2 parents 904deb7 + 5054020 commit 81f227e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"path"
1313
"time"
1414

15-
"github.com/Unknwon/cae/zip"
1615
"code.gitea.io/gitea/models"
1716
"code.gitea.io/gitea/modules/setting"
17+
"github.com/Unknwon/cae/zip"
1818
"github.com/urfave/cli"
1919
)
2020

cmd/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ import (
1313
"strings"
1414
"time"
1515

16-
"github.com/Unknwon/com"
1716
"code.gitea.io/git"
1817
"code.gitea.io/gitea/models"
1918
"code.gitea.io/gitea/modules/base"
2019
"code.gitea.io/gitea/modules/httplib"
2120
"code.gitea.io/gitea/modules/log"
2221
"code.gitea.io/gitea/modules/setting"
22+
"github.com/Unknwon/com"
2323
gouuid "github.com/satori/go.uuid"
2424
"github.com/urfave/cli"
2525
)

cmd/web.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func newMacaron() *macaron.Macaron {
184184
}))
185185
m.Use(toolbox.Toolboxer(m, toolbox.Options{
186186
HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{
187-
&toolbox.HealthCheckFuncDesc{
187+
{
188188
Desc: "Database connection",
189189
Func: models.Ping,
190190
},

0 commit comments

Comments
 (0)