Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileManagerMock ¶
type FileManagerMock struct { WriteFunc func(path string, content []byte) error ReadFunc func(path string) ([]byte, error) ExistsFunc func(path string) bool RemoveFunc func(path string) error }
func (FileManagerMock) Exists ¶
func (f FileManagerMock) Exists(path string) bool
func (FileManagerMock) Remove ¶
func (f FileManagerMock) Remove(path string) error
type FileReadExisterCustomMock ¶
type FileReadExisterCustomMock struct { ReadMock func(path string) ([]byte, error) ExistsMock func(path string) bool }
func (FileReadExisterCustomMock) Exists ¶
func (fmc FileReadExisterCustomMock) Exists(path string) bool
Exists of FileManagerCustomMock
type FileReaderCustomMock ¶
type FileWriteReadExisterCustomMock ¶
type FileWriteReadExisterCustomMock struct { WriteMock func(path string, content []byte) error ReadMock func(path string) ([]byte, error) ExistsMock func(path string) bool }
func (FileWriteReadExisterCustomMock) Exists ¶
func (f FileWriteReadExisterCustomMock) Exists(path string) bool
type FileWriteReadExisterMock ¶
type FileWriteReadExisterMock struct{}
func (FileWriteReadExisterMock) Exists ¶
func (FileWriteReadExisterMock) Exists(path string) bool
type FileWriterCustomMock ¶
type FileWriterMock ¶
type FileWriterMock struct{}
Click to show internal directories.
Click to hide internal directories.