package
0.13.0
Repository: https://github.com/nhatthm/otelsql.git
Documentation: pkg.go.dev

# Functions

DriverContext creates a new driver.DriverContext.
Register creates a new sqlmock instance and returns the dsn to connect to it.

# Variables

New creates sqlmock database connection and a mock to manage expectations.
NewResult creates a new sql driver Result for Exec based query mocks.
NewRows allows Rows to be created from a sql driver.Value slice or from the CSV string and to be used as sql driver.Rows.

# Type aliases

Sqlmock interface.
Sqlmocker mocks and returns a sqlmock instance.