(field string)
| 374 | } |
| 375 | |
| 376 | func (v *Value) DerefWithNone(field string) (*Value, bool) { |
| 377 | if v == nil { |
| 378 | return nil, false |
| 379 | } |
| 380 | i, ok := v.IndexOfField(field) |
| 381 | if !ok { |
| 382 | return nil, false |
| 383 | } |
| 384 | return v.DerefByColumn(i) |
| 385 | } |
| 386 | |
| 387 | func (v *Value) DerefPath(path field.Path) *Value { |
| 388 | for len(path) != 0 { |
nothing calls this directly
no test coverage detected