Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TestVersion used in test cases for the current version if no // version can be found - such as if the version property is not properly // included in the go test flags TestVersion = "1.0.0-SNAPSHOT" )
Variables ¶
View Source
var ( Version string Revision string Branch string BuildUser string BuildDate string GoVersion string )
Build information. Populated at build-time.
Functions ¶
func GetVersion ¶
func GetVersion() string
Types ¶
type Options ¶ added in v0.0.171
type Options struct {
Verbose bool
}
ShowOptions the options for viewing running PRs
func NewCmdVersion ¶
NewCmdVersion creates a command object for the "version" command
Click to show internal directories.
Click to hide internal directories.