Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MustBeginTx ¶
Types ¶
type Queryer ¶
type Queryer interface { QueryStructSliceContext(ctx context.Context, structTag string, destStructSlicePointer interface{}, query string, args ...any) error QueryStructContext(ctx context.Context, structTag string, destStructPointer interface{}, query string, args ...any) error }
func NewDB ¶
func NewDB(db SQLQueryer) Queryer
type SQLExecuter ¶
type SQLQueryer ¶
Click to show internal directories.
Click to hide internal directories.