Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsafe: document that the result of Alignof, Offsetof, and Sizeof are constant #27587

dsnet opened this issue Sep 9, 2018 · 1 comment


Copy link

dsnet commented Sep 9, 2018

The Go specification documents that these "builtin" functions are constants. However, it is not clear from the documentation of the unsafe package that these are constants. Perhaps we should document them as such?

Copy link

Change mentions this issue: unsafe: document that Alignof, Offsetof, and Sizeof return a constant

@golang golang locked and limited conversation to collaborators Oct 11, 2019
@rsc rsc unassigned robpike Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

3 participants