ctx.go 180 Bytes
Newer Older
chenweijian's avatar
chenweijian committed
1 2 3 4 5 6 7 8 9 10 11 12 13
package domain

import (
	"github.com/go-redis/redis/v8"
	"gorm.io/gorm"
	"hilo-user/mycontext"
)

type CtxAndDb struct {
	Db *gorm.DB
	*mycontext.MyContext
	Redis *redis.Client
}