diff --git a/api/router.go b/api/router.go index 7ec0da1..940c839 100644 --- a/api/router.go +++ b/api/router.go @@ -14,7 +14,7 @@ func routesServe() error { return err } - if err := initStaticRouter(router); err != nil { + if err := staticRouterInit(router); err != nil { return err } diff --git a/api/router_static.go b/api/router_static.go index 5096d8b..982b9d4 100644 --- a/api/router_static.go +++ b/api/router_static.go @@ -25,7 +25,7 @@ type staticHtmlPlugs struct { Footer template.HTML } -func initStaticRouter(router *mux.Router) error { +func staticRouterInit(router *mux.Router) error { asset := make(map[string][]byte) gzippedAsset := make(map[string][]byte)