Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "gotrain",
Short: "GoTrain tracks trains",
Long: "GoTrain is a server to process real-time information about Dutch trains",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type VersionInformation ¶
VersionInformation is a simple struct containing the version information
var Version VersionInformation
Version contains the version information
func (VersionInformation) VersionStringLong ¶
func (v VersionInformation) VersionStringLong() string
VersionStringLong returns a version string
func (VersionInformation) VersionStringShort ¶
func (v VersionInformation) VersionStringShort() string
VersionStringShort returns a shortened version string
Click to show internal directories.
Click to hide internal directories.