From 6701b4e863a84ecf5625df51743f2ff0c12e898f Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Tue, 24 Jul 2018 12:15:25 +0530 Subject: [PATCH] api: rename serveRoutes --- api/main.go | 2 +- api/router.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {