Skip to content

Commit

Permalink
fix fiber version
Browse files Browse the repository at this point in the history
  • Loading branch information
iesreza committed Nov 29, 2023
1 parent f285acb commit eba9fc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/settings/yml/yml.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ func (config *Yaml) SetMulti(data map[string]interface{}) error {
return config.write()
}
func (config *Yaml) Register(settings ...interface{}) error {
if config.data == nil {
config.data = map[string]interface{}{}
}
for _, s := range settings {
var v = generic.Parse(s)
if !v.Is("settings.Setting") {
Expand Down

0 comments on commit eba9fc3

Please sign in to comment.