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: 2 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) FunctionA

func (m *TestMock) FunctionA(user *model.StructA) (string, error)

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

func (*TestMock) FunctionC

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

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

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