api: rename initStaticRouter
This commit is contained in:
parent
14002df4b9
commit
645fad6139
@ -14,7 +14,7 @@ func routesServe() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := initStaticRouter(router); err != nil {
|
if err := staticRouterInit(router); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ type staticHtmlPlugs struct {
|
|||||||
Footer template.HTML
|
Footer template.HTML
|
||||||
}
|
}
|
||||||
|
|
||||||
func initStaticRouter(router *mux.Router) error {
|
func staticRouterInit(router *mux.Router) error {
|
||||||
asset := make(map[string][]byte)
|
asset := make(map[string][]byte)
|
||||||
gzippedAsset := make(map[string][]byte)
|
gzippedAsset := make(map[string][]byte)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user