You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
352 B
Smarty
20 lines
352 B
Smarty
1 year ago
|
package config
|
||
|
|
||
|
import (
|
||
|
{{if .isEnt}}
|
||
|
dbconfig "git.noahlan.cn/noahlan/ntool-biz/core/orm/nent/config"
|
||
|
nconfig "git.noahlan.cn/noahlan/ntool-biz/core/config"
|
||
|
{{end}}
|
||
|
"github.com/zeromicro/go-zero/zrpc"
|
||
|
|
||
|
)
|
||
|
|
||
|
type Config struct {
|
||
|
zrpc.RpcServerConf
|
||
|
{{if .isEnt}}
|
||
|
DatabaseConf dbconfig.Database
|
||
|
RedisConf nconfig.RedisConf
|
||
|
{{end}}
|
||
|
}
|
||
|
|