1
mirror of https://gitlab.com/commento/commento.git synced 2025-04-28 06:30:28 -04:00

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(sigintCleanupSetup())
exitIfError(serveRoutes())
exitIfError(routesServe())
}

View File

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