Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier[T any](conn *MySQLExecutor) querier.Querier[T]
Types ¶
type Mock ¶
type Mock struct { MySQLExecutor // contains filtered or unexported fields }
type MySQLExecutor ¶
type MySQLExecutor struct {
// contains filtered or unexported fields
}
func NewMySQLExecutor ¶
func NewMySQLExecutor(ctx context.Context, conf *MySQLConf) (*MySQLExecutor, error)
func (*MySQLExecutor) Close ¶
func (e *MySQLExecutor) Close() error
func (*MySQLExecutor) GetDb ¶
func (e *MySQLExecutor) GetDb() *sqlx.DB
Click to show internal directories.
Click to hide internal directories.