MCPcopy Create free account
hub / github.com/abice/go-enum / NewMockResult

Function NewMockResult

example/sql_mock_test.go:212–216  ·  view source on GitHub ↗

NewMockResult creates a new mock instance.

(ctrl *gomock.Controller)

Source from the content-addressed store, hash-verified

210
211// NewMockResult creates a new mock instance.
212func NewMockResult(ctrl *gomock.Controller) *MockResult {
213 mock := &MockResult{ctrl: ctrl}
214 mock.recorder = &MockResultMockRecorder{mock}
215 return mock
216}
217
218// EXPECT returns an object that allows the caller to indicate expected use.
219func (m *MockResult) EXPECT() *MockResultMockRecorder {

Callers 1

WithMockSQLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…