1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-02-06 04:22:59 +00:00
ghostream/main.go
2020-09-21 19:59:41 +02:00

20 lines
274 B
Go

package main
import (
"log"
"gitlab.crans.org/nounous/ghostream/internal/config"
"gitlab.crans.org/nounous/ghostream/web"
)
func main() {
// Load configuration
cfg, err := config.New()
if err != nil {
log.Fatal(err)
}
// Start web server
web.ServeHTTP(cfg)
}