Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakePgDB
- func (fake *FakePgDB) BindNamed(arg1 string, arg2 interface{}) (string, []interface{}, error)
- func (fake *FakePgDB) BindNamedArgsForCall(i int) (string, interface{})
- func (fake *FakePgDB) BindNamedCallCount() int
- func (fake *FakePgDB) BindNamedReturns(result1 string, result2 []interface{}, result3 error)
- func (fake *FakePgDB) BindNamedReturnsOnCall(i int, result1 string, result2 []interface{}, result3 error)
- func (fake *FakePgDB) DriverName() string
- func (fake *FakePgDB) DriverNameCallCount() int
- func (fake *FakePgDB) DriverNameReturns(result1 string)
- func (fake *FakePgDB) DriverNameReturnsOnCall(i int, result1 string)
- func (fake *FakePgDB) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (fake *FakePgDB) ExecContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) ExecContextCallCount() int
- func (fake *FakePgDB) ExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakePgDB) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakePgDB) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- func (fake *FakePgDB) GetContextArgsForCall(i int) (context.Context, interface{}, string, []interface{})
- func (fake *FakePgDB) GetContextCallCount() int
- func (fake *FakePgDB) GetContextReturns(result1 error)
- func (fake *FakePgDB) GetContextReturnsOnCall(i int, result1 error)
- func (fake *FakePgDB) Invocations() map[string][][]interface{}
- func (fake *FakePgDB) NamedExecContext(ctx context.Context, query string, arg interface{}) (sql.Result, error)
- func (fake *FakePgDB) NamedExecContextArgsForCall(i int) (context.Context, string, interface{})
- func (fake *FakePgDB) NamedExecContextCallCount() int
- func (fake *FakePgDB) NamedExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakePgDB) NamedExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakePgDB) NamedQuery(query string, arg interface{}) (*sqlx.Rows, error)
- func (fake *FakePgDB) NamedQueryArgsForCall(i int) (string, interface{})
- func (fake *FakePgDB) NamedQueryCallCount() int
- func (fake *FakePgDB) NamedQueryReturns(result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) NamedQueryReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) PrepareNamedContext(ctx context.Context, query string) (*sqlx.NamedStmt, error)
- func (fake *FakePgDB) PrepareNamedContextArgsForCall(i int) (context.Context, string)
- func (fake *FakePgDB) PrepareNamedContextCallCount() int
- func (fake *FakePgDB) PrepareNamedContextReturns(result1 *sqlx.NamedStmt, result2 error)
- func (fake *FakePgDB) PrepareNamedContextReturnsOnCall(i int, result1 *sqlx.NamedStmt, result2 error)
- func (fake *FakePgDB) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakePgDB) QueryContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) QueryContextCallCount() int
- func (fake *FakePgDB) QueryContextReturns(result1 *sql.Rows, result2 error)
- func (fake *FakePgDB) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakePgDB) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *sqlx.Row
- func (fake *FakePgDB) QueryRowxContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) QueryRowxContextCallCount() int
- func (fake *FakePgDB) QueryRowxContextReturns(result1 *sqlx.Row)
- func (fake *FakePgDB) QueryRowxContextReturnsOnCall(i int, result1 *sqlx.Row)
- func (fake *FakePgDB) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)
- func (fake *FakePgDB) QueryxContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) QueryxContextCallCount() int
- func (fake *FakePgDB) QueryxContextReturns(result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) QueryxContextReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) Rebind(arg1 string) string
- func (fake *FakePgDB) RebindArgsForCall(i int) string
- func (fake *FakePgDB) RebindCallCount() int
- func (fake *FakePgDB) RebindReturns(result1 string)
- func (fake *FakePgDB) RebindReturnsOnCall(i int, result1 string)
- func (fake *FakePgDB) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- func (fake *FakePgDB) SelectContextArgsForCall(i int) (context.Context, interface{}, string, []interface{})
- func (fake *FakePgDB) SelectContextCallCount() int
- func (fake *FakePgDB) SelectContextReturns(result1 error)
- func (fake *FakePgDB) SelectContextReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePgDB ¶
type FakePgDB struct { PrepareNamedContextStub func(ctx context.Context, query string) (*sqlx.NamedStmt, error) NamedExecContextStub func(ctx context.Context, query string, arg interface{}) (sql.Result, error) NamedQueryStub func(query string, arg interface{}) (*sqlx.Rows, error) SelectContextStub func(ctx context.Context, dest interface{}, query string, args ...interface{}) error GetContextStub func(ctx context.Context, dest interface{}, query string, args ...interface{}) error DriverNameStub func() string RebindStub func(string) string BindNamedStub func(string, interface{}) (string, []interface{}, error) QueryContextStub func(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) QueryxContextStub func(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error) QueryRowxContextStub func(ctx context.Context, query string, args ...interface{}) *sqlx.Row ExecContextStub func(ctx context.Context, query string, args ...interface{}) (sql.Result, error) // contains filtered or unexported fields }
func (*FakePgDB) BindNamedArgsForCall ¶
func (*FakePgDB) BindNamedCallCount ¶
func (*FakePgDB) BindNamedReturns ¶
func (*FakePgDB) BindNamedReturnsOnCall ¶
func (*FakePgDB) DriverName ¶
func (*FakePgDB) DriverNameCallCount ¶
func (*FakePgDB) DriverNameReturns ¶
func (*FakePgDB) DriverNameReturnsOnCall ¶
func (*FakePgDB) ExecContext ¶
func (*FakePgDB) ExecContextArgsForCall ¶
func (*FakePgDB) ExecContextCallCount ¶
func (*FakePgDB) ExecContextReturns ¶
func (*FakePgDB) ExecContextReturnsOnCall ¶
func (*FakePgDB) GetContext ¶
func (*FakePgDB) GetContextArgsForCall ¶
func (*FakePgDB) GetContextCallCount ¶
func (*FakePgDB) GetContextReturns ¶
func (*FakePgDB) GetContextReturnsOnCall ¶
func (*FakePgDB) Invocations ¶
func (*FakePgDB) NamedExecContext ¶
func (*FakePgDB) NamedExecContextArgsForCall ¶
func (*FakePgDB) NamedExecContextCallCount ¶
func (*FakePgDB) NamedExecContextReturns ¶
func (*FakePgDB) NamedExecContextReturnsOnCall ¶
func (*FakePgDB) NamedQuery ¶
func (*FakePgDB) NamedQueryArgsForCall ¶
func (*FakePgDB) NamedQueryCallCount ¶
func (*FakePgDB) NamedQueryReturns ¶
func (*FakePgDB) NamedQueryReturnsOnCall ¶
func (*FakePgDB) PrepareNamedContext ¶
func (*FakePgDB) PrepareNamedContextArgsForCall ¶
func (*FakePgDB) PrepareNamedContextCallCount ¶
func (*FakePgDB) PrepareNamedContextReturns ¶
func (*FakePgDB) PrepareNamedContextReturnsOnCall ¶
func (*FakePgDB) QueryContext ¶
func (*FakePgDB) QueryContextArgsForCall ¶
func (*FakePgDB) QueryContextCallCount ¶
func (*FakePgDB) QueryContextReturns ¶
func (*FakePgDB) QueryContextReturnsOnCall ¶
func (*FakePgDB) QueryRowxContext ¶
func (*FakePgDB) QueryRowxContextArgsForCall ¶
func (*FakePgDB) QueryRowxContextCallCount ¶
func (*FakePgDB) QueryRowxContextReturns ¶
func (*FakePgDB) QueryRowxContextReturnsOnCall ¶
func (*FakePgDB) QueryxContext ¶
func (*FakePgDB) QueryxContextArgsForCall ¶
func (*FakePgDB) QueryxContextCallCount ¶
func (*FakePgDB) QueryxContextReturns ¶
func (*FakePgDB) QueryxContextReturnsOnCall ¶
func (*FakePgDB) RebindArgsForCall ¶
func (*FakePgDB) RebindCallCount ¶
func (*FakePgDB) RebindReturns ¶
func (*FakePgDB) RebindReturnsOnCall ¶
func (*FakePgDB) SelectContext ¶
func (*FakePgDB) SelectContextArgsForCall ¶
func (*FakePgDB) SelectContextCallCount ¶
func (*FakePgDB) SelectContextReturns ¶
func (*FakePgDB) SelectContextReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.