reflect.StructField.Index (field)
12 uses
reflect (current package)
type.go#L881: Index []int // index sequence for Type.FieldByIndex
type.go#L994: f.Index = []int{i}
type.go#L1091: result.Index = nil
type.go#L1092: result.Index = append(result.Index, scan.index...)
type.go#L1093: result.Index = append(result.Index, i)
value.go#L1357: return v.FieldByIndex(f.Index)
value.go#L1368: return v.FieldByIndex(f.Index)
visiblefields.go#L72: if len(w.index) == len(old.Index) {
visiblefields.go#L79: } else if len(w.index) < len(old.Index) {
visiblefields.go#L90: f.Index = append([]int(nil), w.index...)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |