pgsql

package
v0.0.0-...-161ecb4 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeNotFound

func EscapeNotFound(errGet error) error

func GetDb

func GetDb() *gorm.DB

Types

type PgDbInfo

type PgDbInfo struct {
	DbConfig *site_var.DBConfig
	Conn     *gorm.DB
}

func LoadPgDb

func LoadPgDb() *PgDbInfo

func (*PgDbInfo) CheckAndReturnConn

func (PgDbInfo *PgDbInfo) CheckAndReturnConn() *gorm.DB

func (*PgDbInfo) Clean

func (PgDbInfo *PgDbInfo) Clean()

func (*PgDbInfo) InitConnect

func (PgDbInfo *PgDbInfo) InitConnect()

Jump to

Keyboard shortcuts

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