reflect.StructField.Offset (field)
6 uses
reflect (current package)
map.go#L71: mt.ElemOff = slot.Field(1).Offset
type.go#L1092: Offset uintptr // offset within struct, in bytes
type.go#L1197: f.Offset = p.Offset
type.go#L2263: return field.Offset+field.Type.Size() != t.Field(i+1).Offset
type.go#L2265: return field.Offset+field.Type.Size() != t.Size()
![]() |
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. |