mock: github.com/golang/mock/sample/concurrent/mock Index | Files

package mock_concurrent

import "github.com/golang/mock/sample/concurrent/mock"

Package mock_concurrent is a generated GoMock package.

Index

Package Files

concurrent_mock.go

type MockMath Uses

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

MockMath is a mock of Math interface

func NewMockMath Uses

func NewMockMath(ctrl *gomock.Controller) *MockMath

NewMockMath creates a new mock instance

func (*MockMath) EXPECT Uses

func (m *MockMath) EXPECT() *MockMathMockRecorder

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

func (*MockMath) Sum Uses

func (m *MockMath) Sum(arg0, arg1 int) int

Sum mocks base method

type MockMathMockRecorder Uses

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

MockMathMockRecorder is the mock recorder for MockMath

func (*MockMathMockRecorder) Sum Uses

func (mr *MockMathMockRecorder) Sum(arg0, arg1 interface{}) *gomock.Call

Sum indicates an expected call of Sum

Package mock_concurrent imports 2 packages (graph). Updated 2018-12-10. Refresh now. Tools for package owners.