mirror of
https://github.com/rls-moe/nyx
synced 2024-11-14 22:12:24 +00:00
19 lines
255 B
Go
19 lines
255 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"go.rls.moe/nyx/config"
|
|
"go.rls.moe/nyx/http"
|
|
)
|
|
|
|
func main() {
|
|
c, err := config.Load()
|
|
if err != nil {
|
|
fmt.Printf("Could not read configuration: %s\n", err)
|
|
return
|
|
}
|
|
|
|
fmt.Println("Starting Server")
|
|
http.Start(c)
|
|
}
|