ghostream/main.go

20 lines
274 B
Go
Raw Normal View History

2020-09-21 15:29:50 +00:00
package main
import (
2020-09-21 17:59:41 +00:00
"log"
"gitlab.crans.org/nounous/ghostream/internal/config"
2020-09-21 15:47:31 +00:00
"gitlab.crans.org/nounous/ghostream/web"
2020-09-21 15:29:50 +00:00
)
func main() {
2020-09-21 17:59:41 +00:00
// Load configuration
cfg, err := config.New()
if err != nil {
log.Fatal(err)
}
// Start web server
web.ServeHTTP(cfg)
2020-09-21 15:29:50 +00:00
}