Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigEnv = "GVA_CONFIG" ConfigDefaultFile = "config.yaml" ConfigTestFile = "config.test.yaml" ConfigDebugFile = "config.debug.yaml" ConfigReleaseFile = "config.release.yaml" )
Variables ¶
View Source
var FileRotatelogs = new(fileRotatelogs)
View Source
var Zap = new(_zap)
Functions ¶
This section is empty.
Types ¶
type Cutter ¶
type Cutter struct { Director string // 日志文件夹 // contains filtered or unexported fields }
type CutterOption ¶
type CutterOption func(*Cutter)
Click to show internal directories.
Click to hide internal directories.