init
release-tag / release-image (push) Failing after 1m20s

This commit is contained in:
2026-08-31 17:09:21 +02:00
parent 57e5114b60
commit 45ca18b74e
38 changed files with 6169 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
package buildinfo
import "runtime"
// Values may be overridden at build time with -ldflags -X.
var (
Version = "0.9.0"
Commit = "dev"
Date = "unknown"
)
type Info struct {
Version string `json:"version"`
Commit string `json:"commit"`
BuildDate string `json:"build_date"`
GoVersion string `json:"go_version"`
}
func Current() Info {
return Info{Version: Version, Commit: Commit, BuildDate: Date, GoVersion: runtime.Version()}
}