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 Result
- func (fake *Result) Invocations() map[string][][]interface{}
- func (fake *Result) LastInsertId() (int64, error)
- func (fake *Result) LastInsertIdCallCount() int
- func (fake *Result) LastInsertIdCalls(stub func() (int64, error))
- func (fake *Result) LastInsertIdReturns(result1 int64, result2 error)
- func (fake *Result) LastInsertIdReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *Result) RowsAffected() (int64, error)
- func (fake *Result) RowsAffectedCallCount() int
- func (fake *Result) RowsAffectedCalls(stub func() (int64, error))
- func (fake *Result) RowsAffectedReturns(result1 int64, result2 error)
- func (fake *Result) RowsAffectedReturnsOnCall(i int, result1 int64, result2 error)
- type UserDB
- func (fake *UserDB) Exec(arg1 string, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *UserDB) ExecArgsForCall(i int) (string, string, []interface{})
- func (fake *UserDB) ExecCallCount() int
- func (fake *UserDB) ExecCalls(stub func(string, string, ...interface{}) (sql.Result, error))
- func (fake *UserDB) ExecReturns(result1 sql.Result, result2 error)
- func (fake *UserDB) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *UserDB) Get(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
- func (fake *UserDB) GetArgsForCall(i int) (string, interface{}, string, []interface{})
- func (fake *UserDB) GetCallCount() int
- func (fake *UserDB) GetCalls(stub func(string, interface{}, string, ...interface{}) error)
- func (fake *UserDB) GetReturns(result1 error)
- func (fake *UserDB) GetReturnsOnCall(i int, result1 error)
- func (fake *UserDB) Invocations() map[string][][]interface{}
- func (fake *UserDB) Queryx(arg1 string, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error)
- func (fake *UserDB) QueryxArgsForCall(i int) (string, string, []interface{})
- func (fake *UserDB) QueryxCallCount() int
- func (fake *UserDB) QueryxCalls(stub func(string, string, ...interface{}) (*sqlx.Rows, error))
- func (fake *UserDB) QueryxReturns(result1 *sqlx.Rows, result2 error)
- func (fake *UserDB) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *UserDB) Rebind(arg1 string) string
- func (fake *UserDB) RebindArgsForCall(i int) string
- func (fake *UserDB) RebindCallCount() int
- func (fake *UserDB) RebindCalls(stub func(string) string)
- func (fake *UserDB) RebindReturns(result1 string)
- func (fake *UserDB) RebindReturnsOnCall(i int, result1 string)
- type UserTx
- func (fake *UserTx) Exec(arg1 string, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *UserTx) ExecArgsForCall(i int) (string, string, []interface{})
- func (fake *UserTx) ExecCallCount() int
- func (fake *UserTx) ExecCalls(stub func(string, string, ...interface{}) (sql.Result, error))
- func (fake *UserTx) ExecReturns(result1 sql.Result, result2 error)
- func (fake *UserTx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *UserTx) Invocations() map[string][][]interface{}
- func (fake *UserTx) Queryx(arg1 string, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error)
- func (fake *UserTx) QueryxArgsForCall(i int) (string, string, []interface{})
- func (fake *UserTx) QueryxCallCount() int
- func (fake *UserTx) QueryxCalls(stub func(string, string, ...interface{}) (*sqlx.Rows, error))
- func (fake *UserTx) QueryxReturns(result1 *sqlx.Rows, result2 error)
- func (fake *UserTx) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *UserTx) Rebind(arg1 string) string
- func (fake *UserTx) RebindArgsForCall(i int) string
- func (fake *UserTx) RebindCallCount() int
- func (fake *UserTx) RebindCalls(stub func(string) string)
- func (fake *UserTx) RebindReturns(result1 string)
- func (fake *UserTx) RebindReturnsOnCall(i int, result1 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { LastInsertIdStub func() (int64, error) RowsAffectedStub func() (int64, error) // contains filtered or unexported fields }
func (*Result) Invocations ¶
func (*Result) LastInsertId ¶
func (*Result) LastInsertIdCallCount ¶
func (*Result) LastInsertIdCalls ¶
func (*Result) LastInsertIdReturns ¶
func (*Result) LastInsertIdReturnsOnCall ¶
func (*Result) RowsAffected ¶
func (*Result) RowsAffectedCallCount ¶
func (*Result) RowsAffectedCalls ¶
func (*Result) RowsAffectedReturns ¶
type UserDB ¶
type UserDB struct { ExecStub func(string, string, ...interface{}) (sql.Result, error) GetStub func(string, interface{}, string, ...interface{}) error QueryxStub func(string, string, ...interface{}) (*sqlx.Rows, error) RebindStub func(string) string // contains filtered or unexported fields }
func (*UserDB) ExecArgsForCall ¶
func (*UserDB) ExecCallCount ¶
func (*UserDB) ExecReturnsOnCall ¶
func (*UserDB) GetArgsForCall ¶
func (*UserDB) GetCallCount ¶
func (*UserDB) GetReturns ¶
func (*UserDB) GetReturnsOnCall ¶
func (*UserDB) Invocations ¶
func (*UserDB) QueryxArgsForCall ¶
func (*UserDB) QueryxCallCount ¶
func (*UserDB) QueryxCalls ¶
func (*UserDB) QueryxReturnsOnCall ¶
func (*UserDB) RebindArgsForCall ¶
func (*UserDB) RebindCallCount ¶
func (*UserDB) RebindCalls ¶
func (*UserDB) RebindReturns ¶
func (*UserDB) RebindReturnsOnCall ¶
type UserTx ¶
type UserTx struct { ExecStub func(string, string, ...interface{}) (sql.Result, error) QueryxStub func(string, string, ...interface{}) (*sqlx.Rows, error) RebindStub func(string) string // contains filtered or unexported fields }
func (*UserTx) ExecArgsForCall ¶
func (*UserTx) ExecCallCount ¶
func (*UserTx) ExecReturnsOnCall ¶
func (*UserTx) Invocations ¶
func (*UserTx) QueryxArgsForCall ¶
func (*UserTx) QueryxCallCount ¶
func (*UserTx) QueryxCalls ¶
func (*UserTx) QueryxReturnsOnCall ¶
func (*UserTx) RebindArgsForCall ¶
func (*UserTx) RebindCallCount ¶
func (*UserTx) RebindCalls ¶
func (*UserTx) RebindReturns ¶
func (*UserTx) RebindReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.