databases

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Db *gorm.DB

Functions

This section is empty.

Types

type DbGorm

type DbGorm struct {
	Type         string
	Dsn          string
	MaxIdleConns int
	MaxOpenConns int
}

func (*DbGorm) GormInit

func (dg *DbGorm) GormInit() *gorm.DB

func (*DbGorm) GormMysql

func (dg *DbGorm) GormMysql() *gorm.DB

func (*DbGorm) GormPostgresql

func (dg *DbGorm) GormPostgresql() *gorm.DB

func (*DbGorm) GormSqlite3

func (dg *DbGorm) GormSqlite3() *gorm.DB

Jump to

Keyboard shortcuts

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