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.
|
package main
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"git.tovijaeschke.xyz/tovi/SuddenImpactRecords/Api"
|
|
"git.tovijaeschke.xyz/tovi/SuddenImpactRecords/Database"
|
|
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
func main() {
|
|
var (
|
|
router *mux.Router
|
|
)
|
|
|
|
Database.Init()
|
|
|
|
router = Api.InitApiEndpoints()
|
|
|
|
// TODO: Run this within goroutine when running vue application
|
|
// Start and listen to requests
|
|
http.ListenAndServe(":8080", router)
|
|
}
|