emissary/cmd/server/main.go

25 lines
565 B
Go
Raw Permalink Normal View History

2023-02-02 10:55:24 +01:00
package main
import (
"time"
"forge.cadoles.com/Cadoles/emissary/internal/command"
2023-03-10 11:28:37 +01:00
"forge.cadoles.com/Cadoles/emissary/internal/command/api"
2023-02-02 10:55:24 +01:00
"forge.cadoles.com/Cadoles/emissary/internal/command/server"
_ "github.com/jackc/pgx/v5/stdlib"
_ "modernc.org/sqlite"
)
// nolint: gochecknoglobals
var (
GitRef = "unknown"
ProjectVersion = "unknown"
DefaultConfigPath = ""
BuildDate = time.Now().UTC().Format(time.RFC3339)
)
func main() {
2023-03-10 11:28:37 +01:00
command.Main(BuildDate, ProjectVersion, GitRef, DefaultConfigPath, server.Root(), api.Root())
2023-02-02 10:55:24 +01:00
}