Documentation
¶
Overview ¶
Package forge provides core types and constants for The Forge orchestrator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Build = "unknown" )
Version and Build are set at build time via ldflags:
go build -ldflags "-X github.com/Robin831/Forge/internal/forge.Version=1.0.0
-X github.com/Robin831/Forge/internal/forge.Build=abc1234"
When Build is not set via ldflags (remains "unknown"), init() attempts to derive it from Go's VCS build info (runtime/debug.ReadBuildInfo). This requires the binary to be built from a VCS-enabled module (e.g. a git checkout with go build, not go run). A "-dirty" suffix is appended when the working tree was modified at build time.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.