api: rename serveRoutes

This commit is contained in:
Adhityaa Chandrasekar 2018-07-24 12:15:25 +05:30
parent 3c865fd8ff
commit 6701b4e863
2 changed files with 2 additions and 2 deletions

View File

@ -11,5 +11,5 @@ func main() {
exitIfError(markdownRendererCreate()) exitIfError(markdownRendererCreate())
exitIfError(sigintCleanupSetup()) exitIfError(sigintCleanupSetup())
exitIfError(serveRoutes()) exitIfError(routesServe())
} }

View File

@ -7,7 +7,7 @@ import (
"os" "os"
) )
func serveRoutes() error { func routesServe() error {
router := mux.NewRouter() router := mux.NewRouter()
if err := initAPIRouter(router); err != nil { if err := initAPIRouter(router); err != nil {