postgres

package
v0.0.0-...-edb595d Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClosePostgresConnection

func ClosePostgresConnection(conn *gorm.DB)

func GetPostgresConnection

func GetPostgresConnection() *gorm.DB

GetPostgresConnection returns a PostgreSQL database connection using the environment variables: POSTGRES_HOST, POSTGRES_USER, POSTGRES_PASSWORD and POSTGRES_DB.

Types

This section is empty.

Jump to

Keyboard shortcuts

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