Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDB
- func (fake *FakeDB) Invocations() map[string][][]interface{}
- func (fake *FakeDB) NamedExecContext(arg1 context.Context, arg2 string, arg3 interface{}) (sql.Result, error)
- func (fake *FakeDB) NamedExecContextArgsForCall(i int) (context.Context, string, interface{})
- func (fake *FakeDB) NamedExecContextCallCount() int
- func (fake *FakeDB) NamedExecContextCalls(stub func(context.Context, string, interface{}) (sql.Result, error))
- func (fake *FakeDB) NamedExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakeDB) NamedExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeDB) NamedQueryContext(arg1 context.Context, arg2 string, arg3 interface{}) (db.Rows, error)
- func (fake *FakeDB) NamedQueryContextArgsForCall(i int) (context.Context, string, interface{})
- func (fake *FakeDB) NamedQueryContextCallCount() int
- func (fake *FakeDB) NamedQueryContextCalls(stub func(context.Context, string, interface{}) (db.Rows, error))
- func (fake *FakeDB) NamedQueryContextReturns(result1 db.Rows, result2 error)
- func (fake *FakeDB) NamedQueryContextReturnsOnCall(i int, result1 db.Rows, result2 error)
- type FakeResult
- func (fake *FakeResult) Invocations() map[string][][]interface{}
- func (fake *FakeResult) LastInsertId() (int64, error)
- func (fake *FakeResult) LastInsertIdCallCount() int
- func (fake *FakeResult) LastInsertIdCalls(stub func() (int64, error))
- func (fake *FakeResult) LastInsertIdReturns(result1 int64, result2 error)
- func (fake *FakeResult) LastInsertIdReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeResult) RowsAffected() (int64, error)
- func (fake *FakeResult) RowsAffectedCallCount() int
- func (fake *FakeResult) RowsAffectedCalls(stub func() (int64, error))
- func (fake *FakeResult) RowsAffectedReturns(result1 int64, result2 error)
- func (fake *FakeResult) RowsAffectedReturnsOnCall(i int, result1 int64, result2 error)
- type FakeRows
- func (fake *FakeRows) Invocations() map[string][][]interface{}
- func (fake *FakeRows) MapScan(arg1 map[string]interface{}) error
- func (fake *FakeRows) MapScanArgsForCall(i int) map[string]interface{}
- func (fake *FakeRows) MapScanCallCount() int
- func (fake *FakeRows) MapScanCalls(stub func(map[string]interface{}) error)
- func (fake *FakeRows) MapScanReturns(result1 error)
- func (fake *FakeRows) MapScanReturnsOnCall(i int, result1 error)
- func (fake *FakeRows) Next() bool
- func (fake *FakeRows) NextCallCount() int
- func (fake *FakeRows) NextCalls(stub func() bool)
- func (fake *FakeRows) NextReturns(result1 bool)
- func (fake *FakeRows) NextReturnsOnCall(i int, result1 bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDB ¶
type FakeDB struct { NamedExecContextStub func(context.Context, string, interface{}) (sql.Result, error) NamedQueryContextStub func(context.Context, string, interface{}) (db.Rows, error) // contains filtered or unexported fields }
func (*FakeDB) Invocations ¶
func (*FakeDB) NamedExecContext ¶
func (*FakeDB) NamedExecContextArgsForCall ¶
func (*FakeDB) NamedExecContextCallCount ¶
func (*FakeDB) NamedExecContextCalls ¶
func (*FakeDB) NamedExecContextReturns ¶
func (*FakeDB) NamedExecContextReturnsOnCall ¶
func (*FakeDB) NamedQueryContext ¶
func (*FakeDB) NamedQueryContextArgsForCall ¶
func (*FakeDB) NamedQueryContextCallCount ¶
func (*FakeDB) NamedQueryContextCalls ¶
func (*FakeDB) NamedQueryContextReturns ¶
type FakeResult ¶
type FakeResult struct { LastInsertIdStub func() (int64, error) RowsAffectedStub func() (int64, error) // contains filtered or unexported fields }
func (*FakeResult) Invocations ¶
func (fake *FakeResult) Invocations() map[string][][]interface{}
func (*FakeResult) LastInsertId ¶
func (fake *FakeResult) LastInsertId() (int64, error)
func (*FakeResult) LastInsertIdCallCount ¶
func (fake *FakeResult) LastInsertIdCallCount() int
func (*FakeResult) LastInsertIdCalls ¶
func (fake *FakeResult) LastInsertIdCalls(stub func() (int64, error))
func (*FakeResult) LastInsertIdReturns ¶
func (fake *FakeResult) LastInsertIdReturns(result1 int64, result2 error)
func (*FakeResult) LastInsertIdReturnsOnCall ¶
func (fake *FakeResult) LastInsertIdReturnsOnCall(i int, result1 int64, result2 error)
func (*FakeResult) RowsAffected ¶
func (fake *FakeResult) RowsAffected() (int64, error)
func (*FakeResult) RowsAffectedCallCount ¶
func (fake *FakeResult) RowsAffectedCallCount() int
func (*FakeResult) RowsAffectedCalls ¶
func (fake *FakeResult) RowsAffectedCalls(stub func() (int64, error))
func (*FakeResult) RowsAffectedReturns ¶
func (fake *FakeResult) RowsAffectedReturns(result1 int64, result2 error)
func (*FakeResult) RowsAffectedReturnsOnCall ¶
func (fake *FakeResult) RowsAffectedReturnsOnCall(i int, result1 int64, result2 error)
type FakeRows ¶
type FakeRows struct { MapScanStub func(map[string]interface{}) error NextStub func() bool // contains filtered or unexported fields }
func (*FakeRows) Invocations ¶
func (*FakeRows) MapScanArgsForCall ¶
func (*FakeRows) MapScanCallCount ¶
func (*FakeRows) MapScanCalls ¶
func (*FakeRows) MapScanReturns ¶
func (*FakeRows) MapScanReturnsOnCall ¶
func (*FakeRows) NextCallCount ¶
func (*FakeRows) NextReturns ¶
func (*FakeRows) NextReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.