Created
June 23, 2019 12:40
-
-
Save tonespy/5956d1ea0fe816408d4a0c14f2dd4085 to your computer and use it in GitHub Desktop.
Main file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func main() { | |
userRoutes := apis.GenerateUserRoutes() | |
router := router.NewRouter(userRoutes) | |
addr := ":8540" | |
log.Println("Listening on", addr) | |
log.Fatal(http.ListenAndServe(addr, router)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment