package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Nov 22, 2021
License: ISC
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DisableLog disables all library log output. Logging output is disabled
by default until either UseLogger or SetLogWriter are called.
func New(host, password, network, encryptionKey string) (*mysql, error)
New connects to a mysql instance using the given connection params,
and returns pointer to the created mysql struct.
UseLogger uses a specified Logger to output package logging info.
This should be used in preference to SetLogWriter if the caller is also
using slog.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.