package
Version:
v0.2.4
Opens a new window with list of versions in this module.
Published: Jun 26, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package version exposes build metadata injected via ldflags.
View Source
var (
Version = "0.0.0-dev"
Commit = "unknown"
BuildDate = "unknown"
AppName = "TrustGate"
)
type Info struct {
AppName string `json:"app_name"`
Version string `json:"version"`
Commit string `json:"commit"`
BuildDate string `json:"build_date"`
GoVersion string `json:"go_version"`
Platform string `json:"platform"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.