reflect.StructField.Index (field)
12 uses
reflect (current package)
type.go#L1024: Index []int // index sequence for Type.FieldByIndex
type.go#L1137: f.Index = []int{i}
type.go#L1234: result.Index = nil
type.go#L1235: result.Index = append(result.Index, scan.index...)
type.go#L1236: result.Index = append(result.Index, i)
value.go#L1351: return v.FieldByIndex(f.Index)
value.go#L1362: 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.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |