MCPcopy
hub / github.com/revel/revel / newFieldPath

Function newFieldPath

controller_type.go:146–148  ·  view source on GitHub ↗
(isPointer bool, value reflect.Value, fieldPath []int)

Source from the content-addressed store, hash-verified

144}
145
146func newFieldPath(isPointer bool, value reflect.Value, fieldPath []int) *ControllerFieldPath {
147 return &ControllerFieldPath{IsPointer: isPointer, FunctionCall: value, FieldIndexPath: fieldPath}
148}
149
150func (fieldPath *ControllerFieldPath) Invoke(value reflect.Value, input []reflect.Value) (result []reflect.Value) {
151 for _, index := range fieldPath.FieldIndexPath {

Callers 1

checkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected