1、初始化项目
This commit is contained in:
16
config/extend.go
Normal file
16
config/extend.go
Normal file
@ -0,0 +1,16 @@
|
||||
package config
|
||||
|
||||
var ExtConfig Extend
|
||||
|
||||
// Extend 扩展配置
|
||||
// extend:
|
||||
// demo:
|
||||
// name: demo-name
|
||||
// 使用方法: config.ExtConfig......即可!!
|
||||
type Extend struct {
|
||||
AMap AMap // 这里配置对应配置文件的结构即可
|
||||
}
|
||||
|
||||
type AMap struct {
|
||||
Key string
|
||||
}
|
||||
Reference in New Issue
Block a user