resource_manager/main.go

19 lines
279 B
Go
Raw Normal View History

2021-11-19 18:14:43 +00:00
package main
import (
2024-01-03 19:56:42 +00:00
"git.bbr-dev.info/brajkovic/resource_manager/api"
2021-11-19 18:14:43 +00:00
"github.com/joho/godotenv"
"log"
"net/http"
)
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))
}