Documentation ¶
Overview ¶
Package version for fortio holds version information and build information. The reusable library part and examples moved to fortio.org/version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Full ¶ added in v1.29.0
func Full() string
Full returns the Long version + all the run time BuildInfo, ie all the dependent modules and version and hash as well.
func Long ¶
func Long() string
Long returns the long fortio version and build information. Format is "X.Y.X hash go-version processor os".
func Short ¶
func Short() string
Short returns the 3 digit short fortio version string Major.Minor.Patch it matches the project git tag (without the leading v) or "dev" when not built from tag / not `go install fortio.org/fortio@latest` version.Short() is the overall project version (used to version json output too).
Types ¶
This section is empty.