From 645fad6139988b0eb82d087599851d8d7950fb3f Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Tue, 24 Jul 2018 12:16:30 +0530 Subject: [PATCH] api: rename initStaticRouter --- api/router.go | 2 +- api/router_static.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)