Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoVersion ¶
func GetGoVersion() string
GetGoVersion returns the current Go runtime version as a string.
func PrintVersion ¶
PrintVersion prints the current version of the tool to the provided writer.
Types ¶
type Version ¶
Version represents the version information of the tool, including the major, minor, and patch versions, as well as the Go runtime version.
func BuildCurrentVersion ¶
func BuildCurrentVersion() Version
BuildCurrentVersion builds and returns the current Version of the tool.
Click to show internal directories.
Click to hide internal directories.