Documentation ¶
Index ¶
- type Util
- func (_m *Util) AppendOrCreate(filePath string, text string) error
- func (_m *Util) Copy(source string, destination string) error
- func (_m *Util) CopyAll(source string, destination string) error
- func (_m *Util) Mkdirs(dir string) error
- func (_m *Util) OpenAndReadFile(file string) ([]byte, error)
- func (_m *Util) TempDir(dir string, prefix string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Util ¶
func (*Util) AppendOrCreate ¶
AppendOrCreate provides a mock function with given fields: filePath, text
func (*Util) OpenAndReadFile ¶
OpenAndReadFile provides a mock function with given fields: file
Click to show internal directories.
Click to hide internal directories.