mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

func (*Client) Do

func (c *Client) Do(req *http.Request) (*http.Response, error)

type Lode added in v0.2.0

type Lode struct {
	mock.Mock
}

func (*Lode) ExitWithCode added in v0.4.0

func (l *Lode) ExitWithCode()

func (*Lode) Report added in v0.2.0

func (l *Lode) Report()

func (*Lode) Run added in v0.2.0

func (l *Lode) Run()

type Log

type Log struct {
	mock.Mock
}

func (*Log) Fatalf added in v0.4.0

func (l *Log) Fatalf(str string, v ...interface{})

func (*Log) Panicf

func (l *Log) Panicf(str string, v ...interface{})

func (*Log) Panicln added in v0.1.2

func (l *Log) Panicln(v ...interface{})

func (*Log) Printf

func (l *Log) Printf(str string, v ...interface{})

func (*Log) Println

func (l *Log) Println(v ...interface{})

type Select added in v0.3.0

type Select struct {
	mock.Mock
}

func (*Select) Run added in v0.3.0

func (l *Select) Run() (int, string, error)

type Template added in v0.2.2

type Template struct {
	mock.Mock
}

func (*Template) Execute added in v0.2.2

func (l *Template) Execute(wr io.Writer, data interface{}) error

func (*Template) Parse added in v0.2.2

func (l *Template) Parse(text string) (*template.Template, error)

Jump to

Keyboard shortcuts

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