gorm

package
v0.0.0-...-132f7fb Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBMapPool map[string]*sql.DB
View Source
var DefaultDB string
View Source
var GORMMapPool map[string]*gorm.DB

Functions

func CloseDB

func CloseDB() error

func GetGormPool

func GetGormPool(name string) (*gorm.DB, error)

func InitDBPool

func InitDBPool(dbname string, sqldb *sql.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