Documentation ¶
Index ¶
Constants ¶
View Source
const LogDirectory = ".worktime/"
View Source
const LogPath = "worktime.log"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler struct { }
func (*ErrorHandler) Check ¶
func (errorHandler *ErrorHandler) Check(error error)
type FileProcessor ¶
type FileProcessor struct {
ErrorHandler *ErrorHandler
}
func (*FileProcessor) ClearLogFile ¶
func (fileProcessor *FileProcessor) ClearLogFile()
func (*FileProcessor) GetFilePath ¶
func (fileProcessor *FileProcessor) GetFilePath() string
func (*FileProcessor) OpenFile ¶
func (fileProcessor *FileProcessor) OpenFile() *os.File
Click to show internal directories.
Click to hide internal directories.