Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDoesNotExist ¶
IsDoesNotExist returns true if the supplied error indicates a database does not exist.
Types ¶
type DB ¶
type DB interface { Exec(ctx context.Context, q Query) error Scan(ctx context.Context, q Query, dest ...interface{}) error }
A DB client.
func NewMySQLDB ¶
NewMySQLDB returns a new MySQL database client.
Click to show internal directories.
Click to hide internal directories.