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

Function NewMockStmt

example/sql_mock_test.go:131–135  ·  view source on GitHub ↗

NewMockStmt creates a new mock instance.

(ctrl *gomock.Controller)

Source from the content-addressed store, hash-verified

129
130// NewMockStmt creates a new mock instance.
131func NewMockStmt(ctrl *gomock.Controller) *MockStmt {
132 mock := &MockStmt{ctrl: ctrl}
133 mock.recorder = &MockStmtMockRecorder{mock}
134 return mock
135}
136
137// EXPECT returns an object that allows the caller to indicate expected use.
138func (m *MockStmt) EXPECT() *MockStmtMockRecorder {

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…