infrastructure

package
v0.0.0-...-8a49331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPostgreSQLClient

func GetPostgreSQLClient() *sqlx.DB

GetPostgreSQLClient retrieves a PostgreSQL client.

It loads the configuration from the .env file and establishes a connection with the PostgreSQL database. It sets the connection properties and returns the PostgreSQL client.

Returns: - *sqlx.DB: The PostgreSQL client.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL