We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d126d78 + beac72a commit 752dd25Copy full SHA for 752dd25
src/reflect/value.go
@@ -861,6 +861,11 @@ func (v Value) FieldByIndex(index []int) Value {
861
panic("unimplemented: (reflect.Value).FieldByIndex()")
862
}
863
864
+// FieldByIndexErr returns the nested field corresponding to index.
865
+func (v Value) FieldByIndexErr(index []int) (Value, error) {
866
+ return Value{}, &ValueError{Method: "FieldByIndexErr"}
867
+}
868
+
869
func (v Value) FieldByName(name string) Value {
870
panic("unimplemented: (reflect.Value).FieldByName()")
871
0 commit comments