Skip to content

Commit

Permalink
1. add feature load object slice from env in an friendly config way.
Browse files Browse the repository at this point in the history
  • Loading branch information
liangkj committed Aug 30, 2018
1 parent 7dd23e5 commit 2133fb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ func (configor *Configor) processTags(config interface{}, prefixes ...string) er
} else if reflect.DeepEqual(newVal.Interface(), reflect.New(field.Type().Elem()).Elem().Interface()) {
break
} else {
fmt.Println(newVal)
idx++
field.Set(reflect.Append(field, newVal))
}
Expand Down

0 comments on commit 2133fb5

Please sign in to comment.