SetConfigRootPath 需要先设置这个信息再调用 Get
(configRootPath string)
| 87 | |
| 88 | // SetConfigRootPath 需要先设置这个信息再调用 Get |
| 89 | func SetConfigRootPath(configRootPath string) { |
| 90 | _configRootPath = configRootPath |
| 91 | } |
| 92 | |
| 93 | func NewSettings(configRootDirFPath string) *Settings { |
| 94 |
no outgoing calls