version

package
v1.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 10

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 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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL