package
1.2.0
Repository: https://github.com/pzentenoe/gorm-connection.git
Documentation: pkg.go.dev

# Functions

Config initializes a new DBOption with default values.
MergeOptions merges multiple DBOption instances into one, applying default values where necessary.
NewSQLConnection creates a new SQL database connection based on the provided options.
Paginate returns a GORM scope function to apply pagination.

# Variables

SQL Dialects.
SQL Dialects.
SQL Dialects.
SQL Dialects.

# Structs

DBOption holds the configuration for database connection.
SQLDialect represents a SQL dialect with its name and default port.

# Interfaces

Connection is an interface that defines the method to get a database connection.