database

package
v0.0.0-...-37d2846 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBMigrate

func DBMigrate(dbInstance *sql.DB, dbConfig config.DbConfig) error

DBMigrate : Applies db migrations to a Postgres db instance using "migrate" pkg.

func NewPostgresConnection

func NewPostgresConnection(dbConfig config.DbConfig) (*sql.DB, error)

NewPostgresConnection : Create a new connection to a Postgres database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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