1
mirror of https://gitlab.com/commento/commento.git synced 2026-06-17 09:55:27 -04:00

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
+1 -1
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
}
+1 -1
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)