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

Constants - Uppercase reported as error #83

Open
brianoh opened this issue May 29, 2020 · 0 comments
Open

Constants - Uppercase reported as error #83

brianoh opened this issue May 29, 2020 · 0 comments

Comments

@brianoh
Copy link

brianoh commented May 29, 2020

I think that the reporting on constants may be incorrect. GoReporter states that uppercase is incorrect, however that is not the case for constants. viz:

GoReporter: "don't use ALL_CAPS in Go names; use CamelCase"

https://www.golangprograms.com/go-language/constants.html

Naming Conventions for Golang Constants
By convention, constant names are usually written in uppercase letters. This is for their easy identification and differentiation from variables in the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant