blob: adc7ed12786882ac2404ba678d1bd161614f6905 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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())),
))
}
|