mock

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcreteQueryerStub

type ConcreteQueryerStub struct {
	Rep int
	Err error
}

func (*ConcreteQueryerStub) Run

type GenericQueryerSpy

type GenericQueryerSpy struct {
	WasCalled bool
}

func (*GenericQueryerSpy) RunQuery

func (s *GenericQueryerSpy) RunQuery(ctx context.Context, q interface{}, r interface{}) error

type TestQuery

type TestQuery struct {
	ID int
}

type TestReport

type TestReport struct {
	Value int
}

Jump to

Keyboard shortcuts

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