1
0
forked from lxh/go-wxhelper
go-wxhelper/config/config.go

15 lines
523 B
Go
Raw Permalink Normal View History

2023-10-11 09:21:07 +08:00
package config
2023-12-07 23:27:07 +08:00
// Conf 配置
var Conf conf
2023-10-11 09:21:07 +08:00
// Config
// @description: 配置
2023-12-07 23:27:07 +08:00
type conf struct {
Task task `json:"task" yaml:"task"` // 定时任务配置
MySQL mysql `json:"mysql" yaml:"mysql"` // MySQL 配置
Wechat wechat `json:"wechat" yaml:"wechat"` // 微信助手
Ai ai `json:"ai" yaml:"ai"` // AI配置
Resource map[string]resourceItem `json:"resource" yaml:"resource"` // 资源配置
2023-10-11 09:21:07 +08:00
}