1
0
Fork 0
forked from Kispi/Core
HGOE-SaS/server/main.go
Simon Giesel c2207e337a
All checks were successful
continuous-integration/drone Build is passing
feat(core): change branding
2023-06-05 18:05:25 +02:00

19 lines
367 B
Go

package main
import (
"cliffbreak.de/hgoe-sas-server/pkg/utils"
"github.com/pocketbase/pocketbase"
"github.com/pterm/pterm"
)
func main() {
pterm.Info.Println("Loading environment variables...")
utils.LoadEnv()
pterm.Info.Println("Starting PocketBase server...")
app := pocketbase.New()
if err := app.Start(); err != nil {
pterm.Fatal.Println(err)
}
}