Formatted to pass go fmt.

This commit is contained in:
Patrick Connolly
2018-11-08 08:30:57 +08:00
parent 2f3b9e1822
commit 1bcb57238a
2 changed files with 15 additions and 14 deletions

View File

@@ -11,9 +11,8 @@ import (
"github.com/42wim/matterbridge/bridge/config"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
"github.com/zfjagann/golang-ring"
"github.com/swaggo/echo-swagger"
_ "github.com/42wim/matterbridge/docs"
"github.com/zfjagann/golang-ring"
)
// @title Matterbridge API
@@ -59,7 +58,9 @@ func New(cfg *bridge.Config) bridge.Bridger {
},
Skipper: func(c echo.Context) bool {
for _, path := range strings.Fields("/ /api /api/health /swagger /swagger/*") {
if c.Path() == path { return true }
if c.Path() == path {
return true
}
}
return false
},