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

Method Prepare

example/sql_mock_test.go:67–73  ·  view source on GitHub ↗

Prepare mocks base method.

(arg0 string)

Source from the content-addressed store, hash-verified

65
66// Prepare mocks base method.
67func (m *MockConn) Prepare(arg0 string) (driver.Stmt, error) {
68 m.ctrl.T.Helper()
69 ret := m.ctrl.Call(m, "Prepare", arg0)
70 ret0, _ := ret[0].(driver.Stmt)
71 ret1, _ := ret[1].(error)
72 return ret0, ret1
73}
74
75// Prepare indicates an expected call of Prepare.
76func (mr *MockConnMockRecorder) Prepare(arg0 interface{}) *gomock.Call {

Callers 4

TestExampleSQLFunction · 0.45
TestExampleSQLStrOnlyFunction · 0.45
TestExampleSQLIntOnlyFunction · 0.45
TestExampleSQLStrIntOnlyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected