mysql_client

package
v0.0.0-...-fff97c9 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMySQLConn

func GetMySQLConn(conf config.DbConfig) (*gorm.DB, error)

Types

type MySQLConn

type MySQLConn struct {
	// contains filtered or unexported fields
}

func NewMysqlConn

func NewMysqlConn(db *gorm.DB) *MySQLConn

func (*MySQLConn) GetDb

func (c *MySQLConn) GetDb() *gorm.DB

func (*MySQLConn) SetDb

func (c *MySQLConn) SetDb(db *gorm.DB)

Jump to

Keyboard shortcuts

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