Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertError ¶
Types ¶
type ExecResult ¶
type MultiResult ¶
type Runner ¶
type Runner interface { Exec(ctx context.Context, query string, params ...interface{}) ExecResult Query(ctx context.Context, query string, params ...interface{}) (MultiResult, error) QuerySingle(ctx context.Context, query string, params ...interface{}) SingleResult }
type SQLLite ¶
type SQLLite struct {
// contains filtered or unexported fields
}
func NewSQLLite ¶
NewSQLLite returns a connection pool ready to execute statements on SQLLite database.
type SingleResult ¶
type SingleResult interface {
Scan(dst ...interface{}) error
}
Click to show internal directories.
Click to hide internal directories.