feat: initial commit
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
This commit is contained in:
31
cmd/bouncer/main.go
Normal file
31
cmd/bouncer/main.go
Normal file
@ -0,0 +1,31 @@
|
||||
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/auth"
|
||||
"forge.cadoles.com/cadoles/bouncer/internal/command/config"
|
||||
"forge.cadoles.com/cadoles/bouncer/internal/command/server"
|
||||
|
||||
_ "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,
|
||||
server.Root(),
|
||||
auth.Root(),
|
||||
admin.Root(),
|
||||
config.Root(),
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user