static-hoster/src/main.go

14 lines
223 B
Go
Raw Normal View History

2023-01-24 14:50:38 +00:00
package main
import (
2023-01-25 21:14:27 +00:00
"nikurasu.gay/static-hoster/envloader"
2023-01-24 14:50:38 +00:00
"nikurasu.gay/static-hoster/router"
)
func main() {
2023-01-25 21:14:27 +00:00
env := envloader.Load()
r := router.Create(env)
2023-01-24 14:50:38 +00:00
// Listen and Server in 0.0.0.0:8080
r.Run(":8080")
}