We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example:
Source (comment before the const block): http://golang.org/src/crypto/x509/pem_decrypt.go?s=472:490#L13
// Possible values for the EncryptPEMBlock encryption algorithm. const ( _ PEMCipher = iota PEMCipherDES ...
Docs: http://golang.org/pkg/crypto/x509/#PEMCipher
More examples:
The text was updated successfully, but these errors were encountered:
@kostya-sh all comments are presented after the block they are attached too, not just consts.
Sorry, something went wrong.
@davecheney, it could be the way godoc works now, but I believe it is not intuitive (at least for consts). Docs for const blocks like http://golang.org/pkg/math/big/#RoundingMode clearly demonstrate it.
const( ToNearestEven RoundingMode = iota // == IEEE 754-2008 roundTiesToEven ToNearestAway // == IEEE 754-2008 roundTiesToAway .... ) The following rounding modes are supported.
The following example doesn't look right ;)
Working as intended. The descriptions are presented after the items.
Should documentation for some const blocks be re-worded instead? It looks ok in the source code but not in the generated HTML. Examples:
No branches or pull requests
Example:
Source (comment before the const block): http://golang.org/src/crypto/x509/pem_decrypt.go?s=472:490#L13
Docs: http://golang.org/pkg/crypto/x509/#PEMCipher
More examples:
The text was updated successfully, but these errors were encountered: