database

package
v0.0.0-...-4f6929d Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RedisClient *redis.Client
)

Functions

func ConnectDB

func ConnectDB()

func ConnectToRedis

func ConnectToRedis()

func DropUnusedColumns

func DropUnusedColumns(dst interface{})

Types

type DBInstance

type DBInstance struct {
	Db *gorm.DB
}
var DB DBInstance

Jump to

Keyboard shortcuts

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