Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileNameTimeFormat = "2006-01-02"
FileNameTimeFormat 文件名称格式
Functions ¶
This section is empty.
Types ¶
type FileWriter ¶
type FileWriter struct { FilenameFunc func(*FileWriter) string // contains filtered or unexported fields }
FileWriter 文件写入结构体
func NewFileWriter ¶
func NewFileWriter(path, suffix string) (*FileWriter, error)
NewFileWriter 实例化FileWriter
Click to show internal directories.
Click to hide internal directories.