Skip to content

Commit

Permalink
Merge pull request #6 from weberr13/removePrintf
Browse files Browse the repository at this point in the history
Remove printf
  • Loading branch information
weberr13 authored Aug 30, 2019
2 parents 70d9af2 + d7b7252 commit 850dc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decode/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func Decode(m map[string]interface{}, discriminator string, f Factory) (interfac
continue
}
if reflect.DeepEqual(reflect.ValueOf(r).Elem().FieldByName(strcase.ToCamel(k)),reflect.Value{}) {
fmt.Printf("field by name %v not found", strcase.ToCamel(k))
//fmt.Printf("field by name %v not found", strcase.ToCamel(k))
continue
}
if reflect.ValueOf(r).Elem().FieldByName(strcase.ToCamel(k)).CanInterface() {
Expand Down

0 comments on commit 850dc40

Please sign in to comment.