| 12345678910111213141516171819202122232425 |
- package config
- var ExtConfig Extend
- // Extend 扩展配置
- //
- // extend:
- // demo:
- // name: demo-name
- //
- // 使用方法: config.ExtConfig......即可!!
- type Extend struct {
- AMap AMap
- Demo Demo // 这里配置对应配置文件的结构即可
- }
- type AMap struct {
- Key string
- }
- type Demo struct {
- Name string
- NameD1 string
- NameD2 string
- NameD3 string
- }
|