//
pkg.gl
Category
github.com/PearceDuan/file-rotatelogs
internal
fileutil
package
2.5.0+incompatible
Repository:
https://github.com/pearceduan/file-rotatelogs.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
1
Files
46 SLOC
#
Functions
CreateFile
CreateFile creates a new file in the given path, creating parent directories as necessary.
GenerateFn
GenerateFn creates a file name based on the pattern, the current time, and the rotation time.