Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompilerInfo ¶
type DetailedInfo ¶
type DetailedInfo struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Copyright string `json:"copyright,omitempty"` Version VersionInfo `json:"version,omitempty"` Compiler CompilerInfo `json:"compiler,omitempty"` Build BuildInfo `json:"build,omitempty"` Git GitInfo `json:"git,omitempty"` }
type Version ¶
type Version struct { base.Command // Verbose prints extensive information about this application or plugin. Verbose bool `short:"v" long:"verbose" description:"Print extensive information about this application."` }
Version is the command that prints information about the application or plugin to the console; it support both compact and verbose mode.
type VersionInfo ¶
type VersionInfo struct { Major string `json:"major,omitempty"` Minor string `json:"minor,omitempty"` Patch string `json:"patch,omitempty"` }
func (*VersionInfo) String ¶
func (v *VersionInfo) String() string
Click to show internal directories.
Click to hide internal directories.