example

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package example is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FooBar

type FooBar interface {
	WithString(arg1 string)
	WithSlice(arg1 []string)
	WithMap(arg1 map[string]int)
}

type MockFooBar

type MockFooBar struct {
	// contains filtered or unexported fields
}

MockFooBar is a mock of FooBar interface.

func NewMockFooBar

func NewMockFooBar(ctrl *gomock.Controller) *MockFooBar

NewMockFooBar creates a new mock instance.

func (*MockFooBar) EXPECT

func (m *MockFooBar) EXPECT() *MockFooBarMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFooBar) WithMap

func (m *MockFooBar) WithMap(arg1 map[string]int)

WithMap mocks base method.

func (*MockFooBar) WithSlice

func (m *MockFooBar) WithSlice(arg1 []string)

WithSlice mocks base method.

func (*MockFooBar) WithString

func (m *MockFooBar) WithString(arg1 string)

WithString mocks base method.

type MockFooBarMockRecorder

type MockFooBarMockRecorder struct {
	// contains filtered or unexported fields
}

MockFooBarMockRecorder is the mock recorder for MockFooBar.

func (*MockFooBarMockRecorder) WithMap

func (mr *MockFooBarMockRecorder) WithMap(arg1 interface{}) *gomock.Call

WithMap indicates an expected call of WithMap.

func (*MockFooBarMockRecorder) WithSlice

func (mr *MockFooBarMockRecorder) WithSlice(arg1 interface{}) *gomock.Call

WithSlice indicates an expected call of WithSlice.

func (*MockFooBarMockRecorder) WithString

func (mr *MockFooBarMockRecorder) WithString(arg1 interface{}) *gomock.Call

WithString indicates an expected call of WithString.

Jump to

Keyboard shortcuts

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