Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeConn
- func (fake *FakeConn) Begin() (driver.Tx, error)
- func (fake *FakeConn) BeginCallCount() int
- func (fake *FakeConn) BeginReturns(result1 driver.Tx, result2 error)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) Invocations() map[string][][]interface{}
- func (fake *FakeConn) Prepare(query string) (driver.Stmt, error)
- func (fake *FakeConn) PrepareArgsForCall(i int) string
- func (fake *FakeConn) PrepareCallCount() int
- func (fake *FakeConn) PrepareReturns(result1 driver.Stmt, result2 error)
- type FakeDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConn ¶
type FakeConn struct { PrepareStub func(query string) (driver.Stmt, error) CloseStub func() error BeginStub func() (driver.Tx, error) // contains filtered or unexported fields }
func (*FakeConn) BeginCallCount ¶
func (*FakeConn) BeginReturns ¶
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
type FakeDriver ¶
type FakeDriver struct { OpenStub func(name string) (driver.Conn, error) // contains filtered or unexported fields }
func (*FakeDriver) Invocations ¶
func (fake *FakeDriver) Invocations() map[string][][]interface{}
func (*FakeDriver) OpenArgsForCall ¶
func (fake *FakeDriver) OpenArgsForCall(i int) string
func (*FakeDriver) OpenCallCount ¶
func (fake *FakeDriver) OpenCallCount() int
func (*FakeDriver) OpenReturns ¶
func (fake *FakeDriver) OpenReturns(result1 driver.Conn, result2 error)
Click to show internal directories.
Click to hide internal directories.