Documentation
¶
Index ¶
Constants ¶
View Source
const Banner = `` /* 691-byte string literal not displayed */
Banner is the VEF CLI ASCII art logo.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VersionInfo ¶
VersionInfo holds version and build information.
func GetVersionInfo ¶
func GetVersionInfo(ldflagsVersion, ldflagsDate string) VersionInfo
GetVersionInfo returns version information from ldflags or runtime/debug.
func (VersionInfo) String ¶
func (v VersionInfo) String() string
String formats version info as a readable string. The build date is omitted when unknown so unstamped dev builds do not advertise a missing timestamp.
Click to show internal directories.
Click to hide internal directories.