1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-13 09:30:39 +00:00

Add more methods to Configer

This commit is contained in:
Ming Deng
2020-08-19 22:08:29 +08:00
parent cead72c6df
commit 2c16c7b917
9 changed files with 208 additions and 10 deletions

View File

@ -69,6 +69,7 @@ func (js *JSONConfig) ParseData(data []byte) (config.Configer, error) {
// JSONConfigContainer is a config which represents the json configuration.
// Only when get value, support key as section:name type.
type JSONConfigContainer struct {
config.BaseConfiger
data map[string]interface{}
sync.RWMutex
}