Documentation ¶ Overview ¶ Package versionx extracts version information from Go build info. Index ¶ func Get(overrides ...string) string func GoVersion() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get(overrides ...string) string Get returns the application version. If any non-empty override is provided, the first one is returned (useful for ldflags stamping). Otherwise it extracts the VCS revision from build info, falling back to "unknown". func GoVersion ¶ func GoVersion() string GoVersion returns the Go runtime version. Types ¶ This section is empty. Source Files ¶ View all Source files version.go Click to show internal directories. Click to hide internal directories.