Documentation ¶
Index ¶
Constants ¶
View Source
const ( TXT string = ".txt" LOG string = ".log" MD string = ".md" )
Variables ¶
This section is empty.
Functions ¶
func NewCleaner ¶
Constructor of the cleaner
Args
- OSFile: The root were the cleaner remove the old data.
- fileExtension: The extension file of the files that will be "cleaned".
- daysDiffToClean: The numbers of day to remove a file
Return
- clean: An instace of clean, if the instance is created previously the NewCleaner return the same instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.