postgresql

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGorm

func NewGorm(v *viper.Viper, logger logger.Interface) (*gorm.DB, error)

NewGorm init new GORM using postgresql as the db and given viper config to get detailed information about the db such as host, port, username etc.

Types

This section is empty.

Jump to

Keyboard shortcuts

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