package
1.0.12
Repository: https://github.com/filllabs/sincap-common.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package types contains special types for databases.
No description provided by the author
Package zapgorm is an integration package for using zap logger with gorm v2.

# Functions

AsIsNamingStrategy creates a namingstrategy which returns desired names as is without any modification like case or plural conversion.
Close tries to close db connection returns if any error occures.
CloseAll tries to close all db connections.
Configure DB connection.
ConfigureTestDB returns new mock db connection for test and override db instance with mock db connection.
ConfigureTestDB returns new mock db connection for test and override db instance with mock db connection.
DB Returns default DB connection clone.
Get returns the DB connection with the given name.
GetDefault returns the DB connection named "default".

# Structs

Config holds database configuration.