database

package
v0.0.0-...-492a0b1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBConn = &MysqlInfo{}

Functions

func Connect

func Connect(config *configs.ConfigYaml)

Types

type MysqlInfo

type MysqlInfo struct {
	DB *gorm.DB
}

Mysql handler infomation

func (MysqlInfo) RawWrapper

func (conn MysqlInfo) RawWrapper(sql string, values ...interface{}) (tx *gorm.DB)

Jump to

Keyboard shortcuts

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