Documentation
¶
Index ¶
- Variables
- func NewDb() *sql.DB
- type Conn
- func (c *Conn) Begin() (driver.Tx, error)
- func (c *Conn) Close() error
- func (c *Conn) ExecContext(ctx context.Context, _ string, _ []driver.NamedValue) (driver.Result, error)
- func (c *Conn) Prepare(_ string) (driver.Stmt, error)
- func (c *Conn) QueryContext(ctx context.Context, _ string, _ []driver.NamedValue) (driver.Rows, error)
- type Driver
- type Rows
- type Stmt
- type Tx
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DriverName = "testdb"
)
Functions ¶
Types ¶
type Rows ¶
type Rows struct{}
Rows is a minimal implementation that represents an empty result set.
Click to show internal directories.
Click to hide internal directories.