gorm

package
v0.0.0-...-35cfc5f Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Host   = os.Getenv("DB_HOST")
	Logger logger.LogLevel
)

Functions

func ConnPostgresWithAWSSM

func ConnPostgresWithAWSSM(dbSecretArn string) (*gorm.DB, error)

func ConnPostgresWithEnvironment

func ConnPostgresWithEnvironment() (*gorm.DB, error)

func ConnectPostgres

func ConnectPostgres() (*gorm.DB, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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