diff --git a/api/main.go b/api/main.go index 79e98a5..a3fde36 100644 --- a/api/main.go +++ b/api/main.go @@ -11,5 +11,5 @@ func main() { exitIfError(markdownRendererCreate()) exitIfError(sigintCleanupSetup()) - exitIfError(serveRoutes()) + exitIfError(routesServe()) } diff --git a/api/router.go b/api/router.go index 5e232cb..4d85f6d 100644 --- a/api/router.go +++ b/api/router.go @@ -7,7 +7,7 @@ import ( "os" ) -func serveRoutes() error { +func routesServe() error { router := mux.NewRouter() if err := initAPIRouter(router); err != nil {