func (db *DB) DB() *dbx.DB {
	return db.db
}
DB returns the dbx.DB wrapped by this object.
package dbcontext
import (
	"context"
	dbx "github.com/go-ozzo/ozzo-dbx"
	routing "github.com/go-ozzo/ozzo-routing/v2"
)
type DB struct {
	db *dbx.DB
}
type TransactionFunc func(ctx context.Context, f func(ctx context.Context) error) error
type contextKey int
const (
	txKey contextKey = iota
)
func New(db *dbx.DB) *DB {
	return &DB{db}
}