gorm_common

package
v0.0.0-...-6cb28ed Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGorm

func InitGorm(DSN string) (*gorm.DB, error)

func InitRedis

func InitRedis(add, password string, db int) (*redis.Client, error)

InitRedis 初始化redis连接

func New

func New() *dbLog

Types

This section is empty.

Jump to

Keyboard shortcuts

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