package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 6, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DBClient struct {
DB *sql.DB
Connected bool
ConnectionError error
}
DBClient represents a client to the database with a connection status.
NewDBClient initializes a new database client.
Close terminates the connection to the database.
Connect establishes a connection to the database.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.