Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CfgType = "yaml" CfgName = "config" Project = "tikdog" Debug = true Mode = "dev" Home = xerror.PanicStr(filepath.Abs(filepath.Dir(""))) // RunMode 项目运行环境 RunMode = struct { Dev string Test string Stag string Prod string Release string }{ Dev: "dev", Test: "test", Stag: "stag", Prod: "prod", Release: "release", } )
默认的全局配置
Functions ¶
func GetDefault ¶
func GetDefault() string
func ScriptPath ¶
func ScriptPath() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.