Help us shape the future of Go! Take the 2026 Go Developer Survey

database

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RedisCli *db.Redis
)

Functions

func GetMysqlDB

func GetMysqlDB() *db.MySQL

func GetPostgresDB

func GetPostgresDB() *db.Postgres

func InitDB

func InitDB(mysqlConf *config.Mysql)

func InitPostgres

func InitPostgres(pgConf *config.Postgres)

func InitRedis

func InitRedis(redisConf *config.Redis)

Types

This section is empty.

Jump to

Keyboard shortcuts

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