Back to godoc.org

Package dot_imports

v1.4.4
Latest Go to latest

The latest major version is .

Published: Jul 28, 2020 | License: Apache-2.0 | Module: github.com/golang/mock

Overview

go:generate mockgen -package dot_imports -destination mock.go -source input.go

Package dot_imports is a generated GoMock package.

Index

type MockWithDotImports

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

MockWithDotImports is a mock of WithDotImports interface

func NewMockWithDotImports

func NewMockWithDotImports(ctrl *gomock.Controller) *MockWithDotImports

NewMockWithDotImports creates a new mock instance

func (*MockWithDotImports) EXPECT

func (m *MockWithDotImports) EXPECT() *MockWithDotImportsMockRecorder

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

func (*MockWithDotImports) Method1

func (m *MockWithDotImports) Method1() Request

Method1 mocks base method

func (*MockWithDotImports) Method2

func (m *MockWithDotImports) Method2() *bytes.Buffer

Method2 mocks base method

func (*MockWithDotImports) Method3

func (m *MockWithDotImports) Method3() Context

Method3 mocks base method

type MockWithDotImportsMockRecorder

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

MockWithDotImportsMockRecorder is the mock recorder for MockWithDotImports

func (*MockWithDotImportsMockRecorder) Method1

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

Method1 indicates an expected call of Method1

func (*MockWithDotImportsMockRecorder) Method2

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

Method2 indicates an expected call of Method2

func (*MockWithDotImportsMockRecorder) Method3

func (mr *MockWithDotImportsMockRecorder) Method3() *gomock.Call

Method3 indicates an expected call of Method3

type WithDotImports

type WithDotImports interface {
	Method1() Request
	Method2() *bytes.Buffer
	Method3() Context
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier