Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileManager ¶
type FileManager struct {
Pwd string
}
FileManager is in charge for OS management
func (FileManager) AddListener ¶
func (fm FileManager) AddListener() error
AddListener listen for file creation
func (FileManager) ReadFileContent ¶
func (fm FileManager) ReadFileContent(fileName string) (string, error)
ReadFileContent read file content and return it
type MockFileManager ¶
type MockFileManager struct {
Pwd string
}
MockFileManager is the FileManager mock
func (MockFileManager) AddListener ¶
func (mfm MockFileManager) AddListener() error
AddListener listen for file creation
func (MockFileManager) ReadFileContent ¶
func (mfm MockFileManager) ReadFileContent(fileName string) (string, error)
ReadFileContent read file content and return it
Click to show internal directories.
Click to hide internal directories.