examplemock

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestMock

type TestMock struct {
	mock.Mock
}

TestMock is a mock implementation of the example.Exampler interface.

func (*TestMock) FunctionC

func (m *TestMock) FunctionC(name string, address string) *model.StructA

FunctionC is a mock implementation of example.Exampler#FunctionC.

func (*TestMock) FunctionD

func (m *TestMock) FunctionD(user *model.StructA) *httperrors.HTTPError

FunctionD is a mock implementation of example.Exampler#FunctionD.

func (*TestMock) FunctionZ

func (m *TestMock) FunctionZ(id int, user *model.StructA) (*model.StructB, *model.StructA, error)

FunctionZ is a mock implementation of example.Exampler#FunctionZ.

Jump to

Keyboard shortcuts

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