package
0.0.0-20171011075504-07f7db3ea99f
Repository: https://github.com/mattn/go.git
Documentation: pkg.go.dev
# Functions
Alignof takes an expression x of any type and returns the required alignment of a hypothetical variable v as if v was declared via var v = x.
Offsetof returns the offset within the struct of the field represented by x, which must be of the form structValue.field.
Sizeof takes an expression x of any type and returns the size in bytes of a hypothetical variable v as if v was declared via var v = x.
# Type aliases
ArbitraryType is here for the purposes of documentation only and is not actually part of the unsafe package.