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

database

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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 added in v1.0.1

func GetMysqlDB() *db.MySQL

func GetPostgresDB added in v1.0.1

func GetPostgresDB() *db.Postgres

func InitDB

func InitDB(mysqlConf *config.Mysql)

func InitPostgres added in v1.0.1

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