mockgo.uber.org/mock/mockgen/internal/tests/defined_import_local_name Index | Files

package defined_import_local_name

import "go.uber.org/mock/mockgen/internal/tests/defined_import_local_name"

Package defined_import_local_name is a generated GoMock package.

Index

Types

type MockWithImports

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

MockWithImports is a mock of WithImports interface.

func NewMockWithImports

func NewMockWithImports(ctrl *gomock.Controller) *MockWithImports

NewMockWithImports creates a new mock instance.

func (*MockWithImports) EXPECT

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

func (*MockWithImports) Method1

func (m *MockWithImports) Method1() b_mock.Buffer

Method1 mocks base method.

func (*MockWithImports) Method2

func (m *MockWithImports) Method2() c_mock.Context

Method2 mocks base method.

type MockWithImportsMockRecorder

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

MockWithImportsMockRecorder is the mock recorder for MockWithImports.

func (*MockWithImportsMockRecorder) Method1

func (mr *MockWithImportsMockRecorder) Method1() *gomock.Call

Method1 indicates an expected call of Method1.

func (*MockWithImportsMockRecorder) Method2

func (mr *MockWithImportsMockRecorder) Method2() *gomock.Call

Method2 indicates an expected call of Method2.

type WithImports

type WithImports interface {
	Method1() bytes.Buffer
	Method2() context.Context
}

Source Files

input.go mock.go

Version
v0.5.2 (latest)
Published
Apr 28, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
1 week ago

Tools for package owners.