Documentation
¶
Index ¶
Constants ¶
View Source
const VERSION = "0.9.0_SNAPSHOT"
VERSION is the version of this gopa
Variables ¶
This section is empty.
Functions ¶
func GetBuildDate ¶ added in v0.9.0
func GetBuildDate() string
GetBuildDate returns the build datetime of current gopa package
func GetLastCommitLog ¶ added in v0.9.0
func GetLastCommitLog() string
GetLastCommitLog returns last commit information of source code
func GetModuleConfig ¶
GetModuleConfig return specify module's config
Types ¶
type Env ¶
type Env struct {
// static configs
SystemConfig *config.SystemConfig
// dynamic configs
RuntimeConfig *config.RuntimeConfig
IsDebug bool
LoggingLevel string
}
Env is environment object of gopa
func Environment ¶
Environment create a new env instance from a config
Click to show internal directories.
Click to hide internal directories.