Documentation ¶
Index ¶
Constants ¶
View Source
const ( Letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" Numbers = "0123456789" )
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 InitLogger ¶
func InitLogger(names ...LogOpt)
func RandomLetters ¶
func RandomNumbers ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.