Documentation
¶
Index ¶
Constants ¶
View Source
const MySQLDatabaseDriver = "mysql"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connector ¶
func NewConnector ¶
func NewConnector() Connector
type DBTX ¶
type DBTX interface { ExecContext(context.Context, string, ...interface{}) (sql.Result, error) PrepareContext(context.Context, string) (*sql.Stmt, error) QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error) QueryRowContext(context.Context, string, ...interface{}) *sql.Row GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error }
Click to show internal directories.
Click to hide internal directories.