mysqlx

package
v0.0.0-...-400bf3c Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

Close 关闭数据库

func CreateSuperUser

func CreateSuperUser(db *gorm.DB, cf *config.MySQLConfig)

CreateSuperUser 创建超级用户

func DialToMysql

func DialToMysql(op *config.MySQLConfig)

DialToMysql 连接 mysql

func GetDB

func GetDB() *gorm.DB

func InitMysql

func InitMysql(cf *config.MySQLConfig)

InitMysql 初始化 mysql

Types

This section is empty.

Jump to

Keyboard shortcuts

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