Versions in this module Expand all Collapse all v0 v0.3.1 May 29, 2022 v0.3.0 May 29, 2022 Changes in this version + var ErrTransactionAlreadyClosed = errors.New("plugin: transaction already committed or rolled back") + var ErrTransactionAlreadyInProgress = errors.New("plugin: transaction already in progress") + type Option func(*SQLDriver) + func WithArgs(args ...string) Option + func WithEnv(envs ...string) Option + func WithPrefix(prefix string) Option + type SQLDriver struct + func NewDriver(name string, opts ...Option) *SQLDriver + func (d *SQLDriver) Close() error + func (d *SQLDriver) Connect(ctx context.Context) (driver.Conn, error) + func (d *SQLDriver) Driver() driver.Driver