Description

Index describes the path from x to f in x.f. The last index entry is the field or method index of the type declaring f; either:

1) the list of declared methods of a named type; or
2) the list of methods of an interface type; or
3) the list of fields of a struct type.

The earlier index entries are the indices of the embedded fields implicitly traversed to get from (the type of) x to f, starting at embedding depth 0.

Index is referenced in 0 repositories