mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-02-06 04:22:59 +00:00
20 lines
274 B
Go
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)
|
|
}
|