Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLoggerWriter io.Writer = NewLogWriter(logger.DefaultLogger)
View Source
var TAsiaShanghai = time.FixedZone("UTC+8", 8*3600)
View Source
var VHandle = template.FuncMap{
"add": vAdd,
}
Functions ¶
func InitConfig ¶
func InitConfig(file, ext string, config interface{}, withdefault bool, init func(interface{}) error) error
filepath ext
func InitLogger ¶
func InitLogger(names ...LogOpt)
Types ¶
Click to show internal directories.
Click to hide internal directories.