mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
【feat】 添加postgresql数据库支持,【修复】pg数据库的代码生成功能
This commit is contained in:
@@ -34,19 +34,20 @@ var startConfigParam *CmdConfigParam
|
||||
|
||||
// yaml配置文件映射对象
|
||||
type Config struct {
|
||||
App *App `yaml:"app"`
|
||||
Server *Server `yaml:"server"`
|
||||
Queue *Queue `yaml:"queue"`
|
||||
Jwt *Jwt `yaml:"jwt"`
|
||||
Redis *Redis `yaml:"redis"`
|
||||
Mysql *Mysql `yaml:"mysql"`
|
||||
Oss *Oss `yaml:"oss"`
|
||||
Taos *Taos `yaml:"taos"`
|
||||
Mqtt *Mqtt `yaml:"mqtt"`
|
||||
Casbin *Casbin `yaml:"casbin"`
|
||||
Gen *Gen `yaml:"gen"`
|
||||
Ys *Ys `yaml:"ys"`
|
||||
Log *Log `yaml:"log"`
|
||||
App *App `yaml:"app"`
|
||||
Server *Server `yaml:"server"`
|
||||
Queue *Queue `yaml:"queue"`
|
||||
Jwt *Jwt `yaml:"jwt"`
|
||||
Redis *Redis `yaml:"redis"`
|
||||
Mysql *Mysql `yaml:"mysql"`
|
||||
Postgresql *Postgresql `yaml:"postgresql"`
|
||||
Oss *Oss `yaml:"oss"`
|
||||
Taos *Taos `yaml:"taos"`
|
||||
Mqtt *Mqtt `yaml:"mqtt"`
|
||||
Casbin *Casbin `yaml:"casbin"`
|
||||
Gen *Gen `yaml:"gen"`
|
||||
Ys *Ys `yaml:"ys"`
|
||||
Log *Log `yaml:"log"`
|
||||
}
|
||||
|
||||
// 配置文件内容校验
|
||||
|
||||
Reference in New Issue
Block a user