Compare commits

..

No commits in common. "b955f583f48b337baf2e264c2c1d7c8010672b98" and "cd1f1dfb444b844b673b76a504c0407da536f5b2" have entirely different histories.

4 changed files with 2 additions and 8 deletions

2
.gitignore vendored
View File

@ -13,5 +13,3 @@
# Dependency directories (remove the comment below to include it)
# vendor/
zengo

View File

@ -59,7 +59,6 @@ type App struct {
}
func (a *App) Run(config *config.Config) error {
r := setupRouter()
a.Router = r
a.Router = setupRouter()
return a.Router.Run(fmt.Sprintf("%s:%d", config.App.Addr, config.App.Port))
}

View File

@ -8,6 +8,6 @@ import (
func main() {
config := config.GetConfig()
app := app.App{}
app := &app.App{}
app.Run(config)
}

3
run
View File

@ -1,3 +0,0 @@
#!/bin/sh -e
go run main.go