From 5054020c1fd3d9aa75d5bcbafd08ff20727df345 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 15 Nov 2016 00:03:37 +0800 Subject: fix gofmt error. Signed-off-by: Bo-Yi Wu --- cmd/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/web.go') 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, }, -- cgit v1.2.3