mocks

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2016 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Util

type Util struct {
	mock.Mock
}

func (*Util) AppendOrCreate

func (_m *Util) AppendOrCreate(filePath string, text string) error

AppendOrCreate provides a mock function with given fields: filePath, text

func (*Util) Copy

func (_m *Util) Copy(source string, destination string) error

Copy provides a mock function with given fields: source, destination

func (*Util) CopyAll

func (_m *Util) CopyAll(source string, destination string) error

CopyAll provides a mock function with given fields: source, destination

func (*Util) Mkdirs

func (_m *Util) Mkdirs(dir string) error

Mkdirs provides a mock function with given fields: dir

func (*Util) OpenAndReadFile

func (_m *Util) OpenAndReadFile(file string) ([]byte, error)

OpenAndReadFile provides a mock function with given fields: file

func (*Util) TempDir

func (_m *Util) TempDir(dir string, prefix string) (string, error)

TempDir provides a mock function with given fields: dir, prefix

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL