package
0.16.0
Repository: https://github.com/smithyat/go-helpers.git
Documentation: pkg.go.dev

# Functions

MySQLConnect is a function that allows the application to establish a connection with the MySQL database.
MySqlLogDSN creates a masked version of the Data Source Name (DSN) for a MySQL database connection.
PgLogDSN constructs a Postgres Data Source Name (DSN) from the given DbConfig.
PgSQLConnect takes a DbConfig structure as input and establishes a connection to a PostgreSQL database using the details provided in the provided configuration.

# Structs

DbConfig is the configuration for the database.