mock

package
v1.1.47 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: GPL-3.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 BenchmarkStub

type BenchmarkStub struct {
	NameCalled func() string
	RunCalled  func() (time.Duration, error)
}

BenchmarkStub -

func (*BenchmarkStub) IsInterfaceNil

func (bs *BenchmarkStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*BenchmarkStub) Name

func (bs *BenchmarkStub) Name() string

Name -

func (*BenchmarkStub) Run

func (bs *BenchmarkStub) Run() (time.Duration, error)

Run -

Jump to

Keyboard shortcuts

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