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
常量
变量
No description provided.
The text was updated successfully, but these errors were encountered:
这两种需要做什么样的注释支持?不能直接 // ?
Sorry, something went wrong.
goland 标准的注释格式,是需要默认把变量名或常量名称自动放在注释开头的,例如:
// defaultTCPKeepAlive is a default constant value for TCPKeepAlive times // See golang.org/issue/31510 const ( defaultTCPKeepAlive = 15 * time.Second )
Go 官方的包都是按照这个标准进行注释的
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: