Function
newFieldPath
(isPointer bool, value reflect.Value, fieldPath []int)
Source from the content-addressed store, hash-verified
| 144 | } |
| 145 | |
| 146 | func newFieldPath(isPointer bool, value reflect.Value, fieldPath []int) *ControllerFieldPath { |
| 147 | return &ControllerFieldPath{IsPointer: isPointer, FunctionCall: value, FieldIndexPath: fieldPath} |
| 148 | } |
| 149 | |
| 150 | func (fieldPath *ControllerFieldPath) Invoke(value reflect.Value, input []reflect.Value) (result []reflect.Value) { |
| 151 | for _, index := range fieldPath.FieldIndexPath { |
Tested by
no test coverage detected