(v reflect.Value, field string)
| 447 | } |
| 448 | |
| 449 | func fieldByName(v reflect.Value, field string) reflect.Value { |
| 450 | return v.FieldByNameFunc(func(s string) bool { |
| 451 | return strings.EqualFold(field, s) |
| 452 | }) |
| 453 | } |
no outgoing calls
no test coverage detected