delete fmt.Println

This commit is contained in:
liuguoyang1 2020-08-19 18:22:25 +08:00
parent 00ac2c52c6
commit ee97acd6e9

View file

@ -896,7 +896,6 @@ func Unmarshal(rawVal interface{}, opts ...DecoderConfigOption) error {
return v.Unmarshal(rawVal, opts...)
}
func (v *Viper) Unmarshal(rawVal interface{}, opts ...DecoderConfigOption) error {
fmt.Println(v.AllSettings())
return decode(v.AllSettings(), defaultDecoderConfig(rawVal, opts...))
}