You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
434 B

  1. package main
  2. import (
  3. "net/http"
  4. "git.tovijaeschke.xyz/tovi/SuddenImpactRecords/Api"
  5. "git.tovijaeschke.xyz/tovi/SuddenImpactRecords/Database"
  6. "git.tovijaeschke.xyz/tovi/SuddenImpactRecords/Frontend"
  7. "github.com/gorilla/mux"
  8. )
  9. func main() {
  10. var (
  11. router *mux.Router
  12. )
  13. Database.Init()
  14. router = mux.NewRouter()
  15. Api.InitApiEndpoints(router)
  16. Frontend.InitFrontendRoutes(router)
  17. http.ListenAndServe(":8080", router)
  18. }