Documentation ¶
Overview ¶
Package version for fortio holds version information and build information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Long ¶
func Long() string
Long returns the full version and build information. Format is "X.Y.X[-pre] YYYY-MM-DD HH:MM SHA[-dirty]" date and time is the build date (UTC), sha is the git sha of the source tree.
func Short ¶
func Short() string
Short returns the 3 digit short version string Major.Minor.Patch[-pre] version.Short() is the overall project version (used to version json output too). "-pre" is added when the version doesn't match exactly a git tag or the build isn't from a clean source tree. (only standard dockerfile based build of a clean, tagged source tree should print "X.Y.Z" as short version).
Types ¶
This section is empty.