package
0.0.0-20240614024848-4d8b559eef21
Repository: https://github.com/dhermes/golembic.git
Documentation: pkg.go.dev
# Functions
New creates a MySQL-specific database engine provider from some options.
NewConfig creates a new Config and sets default values.
OptConfig sets the `Config` on a `SQLProvider`.
OptDBName sets the `DBName` on a `Config`.
OptHostPort sets the `Addr` on a `Config`.
OptIdleConnections sets the `IdleConnections` on a `SQLProvider`.
OptMaxConnections sets the `MaxConnections` on a `SQLProvider`.
OptMaxLifetime sets the `MaxLifetime` on a `SQLProvider`.
OptNet sets the `Net` on a `Config`.
OptPassword sets the `Passwd` on a `Config`.
OptUser sets the `User` on a `Config`.
ParseDSN parses the DSN string to a Config.
# Structs
Config is a configuration parsed from a DSN string.
SQLProvider is a MySQL-specific database engine provider.
# Type aliases
Option describes options used to create a new config for a SQL provider.