1
0
Fork 0
forked from Kispi/Core
HGOE-SaS/server/main.go

20 lines
367 B
Go
Raw Normal View History

package main
import (
2023-06-05 16:05:25 +00:00
"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)
}
}