(field string)
| 355 | } |
| 356 | |
| 357 | func (v Value) IndexOfField(field string) (int, bool) { |
| 358 | if typ := TypeRecordOf(v.Type()); typ != nil { |
| 359 | return typ.IndexOfField(field) |
| 360 | } |
| 361 | return 0, false |
| 362 | } |
| 363 | |
| 364 | func (v *Value) Deref(field string) *Value { |
| 365 | if v == nil { |
no test coverage detected