bouncer/cmd/bouncer/main.go
William Petit af4e8e556c
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
feat: initial commit
2023-05-12 16:00:38 +02:00

32 lines
733 B
Go

package main
import (
"time"
"forge.cadoles.com/cadoles/bouncer/internal/command"
"forge.cadoles.com/cadoles/bouncer/internal/command/admin"
"forge.cadoles.com/cadoles/bouncer/internal/command/client"
"forge.cadoles.com/cadoles/bouncer/internal/command/config"
"forge.cadoles.com/cadoles/bouncer/internal/command/proxy"
_ "forge.cadoles.com/cadoles/bouncer/internal/imports/format"
)
// nolint: gochecknoglobals
var (
GitRef = "unknown"
ProjectVersion = "unknown"
DefaultConfigPath = ""
BuildDate = time.Now().UTC().Format(time.RFC3339)
)
func main() {
command.Main(
BuildDate, ProjectVersion, GitRef, DefaultConfigPath,
admin.Root(),
proxy.Root(),
client.Root(),
config.Root(),
)
}