package
Version:
v0.0.0-...-243bb06
Opens a new window with list of versions in this module.
Published: Oct 11, 2022
License: Apache-2.0, BSD-3-Clause, Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ParseDSN parses various supported DSN types (currently mysql and postgres) into a
map of key/value pairs which can be used as valid tags.
type MockDriver struct {
Prepared []string
Executed []string
}
MockDriver implements a mock driver that captures and stores prepared and executed statements
Open implements the Conn interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.