Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Package = "github.com/syaiful6/payung"
Package is the overall, canonical project import path under which the package was built.
View Source
var Revision = ""
Revision is filled with the VCS (e.g. git) revision being used to build the program at linking time.
View Source
var Version = "v0.2.6"
Version indicates which version of the binary is running. This is set to the latest release tag by hand, always suffixed by "+unknown". During build, it will be replaced by the actual version. The value here will be used if the registry is run after a go get based install.
Functions ¶
func FprintVersion ¶
FprintVersion outputs the version string to the writer, in the following format, followed by a newline:
<cmd> <project> <version>
func PrintVersion ¶
func PrintVersion()
PrintVersion outputs the version information, from Fprint, to stdout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.