package main import ( "context" "net/http" "os" "github.com/xlgmokha/x/pkg/env" "github.com/xlgmokha/x/pkg/x" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/pls" ) func main() { pls.LogError(context.Background(), http.ListenAndServe( env.Fetch("BIND_ADDR", ":8080"), app.New(x.Must(os.Getwd())), )) }