//
pkg.gl
Category
github.com/GitHub121380/file-rotatelogs
internal
fileutil
package
1.4.0
Repository:
https://github.com/github121380/file-rotatelogs.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
1
Files
40 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.