init: basic index and static routes

This commit is contained in:
efim
2023-10-28 14:47:01 +00:00
parent c7571d2e81
commit ae380d1976
4 changed files with 49 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ func main() {
flag.Parse()
fmt.Printf("Server will start on port %d", port)
routes.RegisterRoutes()
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))