reflect.StructField.Index (field)
13 uses
reflect (current package)
type.go#L1093: Index []int // index sequence for Type.FieldByIndex
type.go#L1207: f.Index = unsafe.Slice((*int)(p), 1)
type.go#L1216: f.Index = []int{i}
type.go#L1321: result.Index = nil
type.go#L1322: result.Index = append(result.Index, scan.index...)
type.go#L1323: 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.8.4. (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. |