Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSome = errors.New("sqlstubs: some error")
Functions ¶
This section is empty.
Types ¶
type StubColumn ¶
type StubColumn string
func (StubColumn) Name ¶
func (column StubColumn) Name() string
type StubDB ¶
type StubDB struct {
QueryTable StubQueryTable
ExecTable StubExecTable
}
func (*StubDB) InTransaction ¶
func (db *StubDB) InTransaction(perform func(sqlapi.ReaderWriter) error) error
type StubExecTable ¶
type StubQueryTable ¶
type StubRows ¶
type StubRows struct {
Values [][]interface{}
Columns []rowscanner.Column
Err error
}
func (*StubRows) AltNameTag ¶
func (*StubRows) IterateUsing ¶
func (rows *StubRows) IterateUsing(fn rowscanner.RowFunc) error
Click to show internal directories.
Click to hide internal directories.