Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic version of the application. // This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.Version=v1.0.0" Version = "dev" // BuildTime is the build time of the application. // This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.BuildTime=..." BuildTime = "unknown" // GitCommit is the git commit hash of the build. // This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.GitCommit=..." GitCommit = "unknown" // GitTag is the git tag of the build (if any). // This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.GitTag=..." GitTag = "" // GoVersion is the Go version used to build the application. GoVersion = runtime.Version() )
Functions ¶
func GetVersionShort ¶
func GetVersionShort() string
GetVersionShort returns the short version string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.