diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -35,7 +35,8 @@ func main() { // CGI Servers servers := cgi.NewServers() - servers.Start(cfg) + // TODO Should probably be in a global waitgroup + go servers.Start(cfg) // HTTP Server router := gin.Default() @@ -55,5 +56,6 @@ func main() { c.JSON(http.StatusOK, nil) }) + // TODO Should probably be in a global waitgroup router.Run() } |