Versions in this module Expand all Collapse all v0 v0.47.0 Jun 16, 2026 Changes in this version + const SpanOrigin + const SystemClickhouse + const SystemMSSQL + const SystemMariaDB + const SystemMySQL + const SystemOracle + const SystemPostgreSQL + const SystemSQLite + const SystemSnowflake + func Open(driverName, dataSourceName string, opts ...Option) (*sql.DB, error) + func OpenDB(c driver.Connector, opts ...Option) (*sql.DB, error) + func Register(name string, drv driver.Driver, opts ...Option) error + func WrapConnector(c driver.Connector, opts ...Option) (driver.Connector, error) + func WrapDriver(drv driver.Driver, opts ...Option) (driver.Driver, error) + type DatabaseSystem = dbsystem.Name + type Option func(*config) + func WithDatabaseName(name string) Option + func WithDatabaseSystem(system DatabaseSystem) Option + func WithDatabaseUser(user string) Option + func WithDriverName(name string) Option + func WithServerAddress(host string, port int) Option + func WithServerSocketAddress(addr string, port int) Option