Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSNOption ¶
type DSNOption func(*MySQLDSN)
DSNOption defines a function that configures a MySQLDSN.
func WithDBName ¶
WithDBName sets the database name for the DSN.
func WithPassword ¶
WithPassword sets the password for the DSN.
func WithUsername ¶
WithUsername sets the username for the DSN.
Click to show internal directories.
Click to hide internal directories.