postgres

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPostgresSQLDB

func GetPostgresSQLDB() (*sql.DB, error)

GetPostgresSQLDB - get connection db postgres

func GetPostgresSQLDBORM

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

GetPostgresSQLDBORM - get connection db postgres ORM

func InitConnPostgresSQLDB

func InitConnPostgresSQLDB(dbHost, dbUser, dbPass, dbName, dbPort, dbSSL, dbTimeZone string, maxIdle, maxConn int)

InitConnPostgresSQLDB - preparation connection database postgresSQL ORM

func InitConnPostgresSQLDBORM

func InitConnPostgresSQLDBORM(dbHost, dbUser, dbPass, dbName, dbPort, dbSSL, dbTimeZone string, maxIdle, maxConn int)

InitConnPostgresSQLDBORM - preparation connection database postgresSQL ORM

Types

This section is empty.

Jump to

Keyboard shortcuts

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