1 Star 0 Fork 0

mq-go/bluebell

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
global.go 742 Bytes
一键复制 编辑 原始数据 按行查看 历史
柒染 提交于 2023-10-03 19:58 +08:00 . 按照时间和分数排序
/*
* @Author: drowningwhale 351231768@qq.com
* @Date: 2023-09-29 17:33:15
* @LastEditors: drowningwhale 351231768@qq.com
* @LastEditTime: 2023-09-29 20:00:34
* @FilePath: \go-course\web_app\global\global.go
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
package global
import (
"gitee.com/mq-go/bluebell/settings"
ut "github.com/go-playground/universal-translator"
"github.com/redis/go-redis/v9"
"gorm.io/gorm"
)
var (
DB *gorm.DB
RDB *redis.Client
WebConfig *settings.WebConfig = &settings.WebConfig{}
Trans ut.Translator
)
const (
OrderByTime = "time"
OrderByCore = "core"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mq-go/bluebell.git
git@gitee.com:mq-go/bluebell.git
mq-go
bluebell
bluebell
d993e0e507c7

搜索帮助