watchdog/main.go
NotAShelf 27b3641717
various: add internal health and runtime metrics
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iae1dcf8495a00159d588c6e2344312f36a6a6964
2026-03-02 22:38:28 +03:00

20 lines
350 B
Go

package main
import "notashelf.dev/watchdog/cmd/watchdog"
// Injected at build time via ldflags:
//
// -X main.Version=v1.0.0
// -X main.Commit=abc1234
// -X main.BuildDate=2026-03-02
//
// I hate this pattern btw.
var (
Version = "dev"
Commit = "unknown"
BuildDate = "unknown"
)
func main() {
watchdog.Main(Version, Commit, BuildDate)
}