api: rename serveRoutes
This commit is contained in:
parent
3c865fd8ff
commit
6701b4e863
@ -11,5 +11,5 @@ func main() {
|
|||||||
exitIfError(markdownRendererCreate())
|
exitIfError(markdownRendererCreate())
|
||||||
exitIfError(sigintCleanupSetup())
|
exitIfError(sigintCleanupSetup())
|
||||||
|
|
||||||
exitIfError(serveRoutes())
|
exitIfError(routesServe())
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user