Files
orbis/cmd/orbis/main.go
kjuulh b6e9882855
All checks were successful
continuous-integration/drone/push Build is passing
feat: deregister worker on close
2025-01-18 12:17:04 +01:00

27 lines
379 B
Go

package main
import (
"context"
"fmt"
"os"
"git.front.kjuulh.io/kjuulh/orbis/internal/app"
"github.com/joho/godotenv"
)
func main() {
err := godotenv.Load()
if err != nil {
fmt.Printf("%s\n", err)
os.Exit(1)
}
app := app.NewApp()
ctx := context.Background()
if err := newRoot(app).ExecuteContext(ctx); err != nil {
fmt.Printf("%s\n", err)
os.Exit(1)
}
}