db

package
v0.0.0-...-6310200 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Mysql *gorm.DB
View Source
var RDB *redis.Client

Functions

func ConnectMysql

func ConnectMysql() (err error)

ConnectMysql 连接mysql

func ConnectRDB

func ConnectRDB()

func Migrate

func Migrate()

Types

This section is empty.

Jump to

Keyboard shortcuts

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