Documentation ¶
Overview ¶
Package database provides useful functions for database operations and configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGORMLogger ¶
NewGORMLogger returns a new logger for GORM.
The logger implementation uses zerolog under the hood, and it is initialized with the global zerolog Logger. A zerolog-compatible log level is also set from the global logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.