Skip to content

Commit

Permalink
remove debugging statement, fixes jmoiron#107
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoiron committed Dec 3, 2014
1 parent 69bf5d2 commit f013622
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion named.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ func bindArgs(names []string, arg interface{}, m *reflectx.Mapper) ([]interface{
fields := m.TraversalsByName(v.Type(), names)
for i, t := range fields {
if len(t) == 0 {
fmt.Println(fields, names)
return arglist, fmt.Errorf("could not find name %s in %#v", names[i], arg)
}
val := reflectx.FieldByIndexesReadOnly(v, t)
Expand Down

0 comments on commit f013622

Please sign in to comment.