Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
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) BeginReturnsOnCall(i int, result1 driver.Tx, result2 error)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) CloseReturnsOnCall(i int, 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)
- func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 driver.Stmt, result2 error)
- type FakeDriver
- func (fake *FakeDriver) Invocations() map[string][][]interface{}
- func (fake *FakeDriver) Open(name string) (driver.Conn, error)
- func (fake *FakeDriver) OpenArgsForCall(i int) string
- func (fake *FakeDriver) OpenCallCount() int
- func (fake *FakeDriver) OpenReturns(result1 driver.Conn, result2 error)
- func (fake *FakeDriver) OpenReturnsOnCall(i int, result1 driver.Conn, result2 error)
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) BeginReturnsOnCall ¶
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
func (*FakeConn) PrepareReturns ¶
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)
func (*FakeDriver) OpenReturnsOnCall ¶
func (fake *FakeDriver) OpenReturnsOnCall(i int, result1 driver.Conn, result2 error)
Click to show internal directories.
Click to hide internal directories.