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

Function NewMockRows

example/sql_mock_test.go:265–269  ·  view source on GitHub ↗

NewMockRows creates a new mock instance.

(ctrl *gomock.Controller)

Source from the content-addressed store, hash-verified

263
264// NewMockRows creates a new mock instance.
265func NewMockRows(ctrl *gomock.Controller) *MockRows {
266 mock := &MockRows{ctrl: ctrl}
267 mock.recorder = &MockRowsMockRecorder{mock}
268 return mock
269}
270
271// EXPECT returns an object that allows the caller to indicate expected use.
272func (m *MockRows) EXPECT() *MockRowsMockRecorder {

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…