resource_manager/main.go

19 lines
252 B
Go
Raw Normal View History

2021-11-19 18:14:43 +00:00
package main
import (
"github.com/joho/godotenv"
"log"
"net/http"
2024-01-03 20:25:15 +00:00
"resource-manager/api"
2021-11-19 18:14:43 +00:00
)
func init() {
log.SetPrefix("[ReM] ")
godotenv.Load()
}
func main() {
2024-01-03 19:56:42 +00:00
server := api.SetupServer()
2021-11-19 18:14:43 +00:00
log.Fatalln(http.ListenAndServe(":5201", server))
}