32 lines
731 B
Go
32 lines
731 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/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(),
|
|
)
|
|
}
|