Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEV = "development" PROD = "production" APP_NAME = "patrol-api" )
Variables ¶
Functions ¶
func SetHomePath ¶
func SetHomePath(args *CommandLineArgs)
Types ¶
type Cfg ¶
func ProvideSettingCfg ¶
func ProvideSettingCfg(args *CommandLineArgs) (*Cfg, error)
func (*Cfg) Load ¶
func (cfg *Cfg) Load(args *CommandLineArgs) error
func (*Cfg) LoadConfiguration ¶
func (cfg *Cfg) LoadConfiguration(args *CommandLineArgs) (*ini.File, error)
type CommandLineArgs ¶
Click to show internal directories.
Click to hide internal directories.