package
Version:
v0.0.0-...-e8fae58
Opens a new window with list of versions in this module.
Published: Oct 13, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mysql provides a MySQL database.
type DB struct {
*sql.DB
}
DB is a struct that contains the settings for the MySQL database.
NewDB returns a new DB struct.
BeginReadOnlyTx begins a read-only transaction.
BeginTx begins a transaction.
Close closes the database and prevents new queries from starting.
Source Files
¶
Directories
¶
Package mock is a package for mocking MySQL.
|
Package mock is a package for mocking MySQL. |
Click to show internal directories.
Click to hide internal directories.