Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" Date = "unknown" TelemetryHost = "" TelemetryWebsiteID = "" )
Set via ldflags at build time:
-ldflags "-X github.com/Blakeolson21/no-slop/internal/buildinfo.Version=v1.0.0
-X github.com/Blakeolson21/no-slop/internal/buildinfo.Commit=abc1234
-X github.com/Blakeolson21/no-slop/internal/buildinfo.Date=2024-01-01
-X github.com/Blakeolson21/no-slop/internal/buildinfo.TelemetryHost=https://a.example.com
-X github.com/Blakeolson21/no-slop/internal/buildinfo.TelemetryWebsiteID=abc123"
Functions ¶
func CurrentVersion ¶
func CurrentVersion() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.