Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name, Repository, Package, Version, BuildDate, BuildUser, GitBranch, GitTag, GitHash, Image string )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { DebugFlag bool `yaml:"debug" json:"debug" mapstructure:"debug"` ConfigDir string `yaml:"config-dir" json:"config_dir" mapstructure:"config-dir"` DataDir string `yaml:"data-dir" json:"data_dir" mapstructure:"data-dir"` LogDir string `yaml:"log-dir" json:"log_dir" mapstructure:"log-dir"` Logger *logging.Logger `yaml:"-" json:"-" mapstructure:"-"` }
type AppVersion ¶
type AppVersion struct { Name string `json:"name"` Repository string `json:"repository"` Package string `json:"package"` Version string `json:"version"` GitBranch string `json:"gitBranch"` GitTag string `json:"gitTag"` GitHash string `json:"gitHash"` BuildDate string `json:"buildDate"` BuildUser string `json:"buildUser"` }
func GetVersion ¶
func GetVersion() *AppVersion
Click to show internal directories.
Click to hide internal directories.