api: rename initStaticRouter

This commit is contained in:
Adhityaa Chandrasekar 2018-07-24 12:16:30 +05:30
parent 14002df4b9
commit 645fad6139
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ func routesServe() error {
return err
}
if err := initStaticRouter(router); err != nil {
if err := staticRouterInit(router); err != nil {
return err
}

View File

@ -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)