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

MaxLineLength, not MAX_LINE_LENGTH #2

Closed
bradfitz opened this issue Jan 4, 2014 · 1 comment
Closed

MaxLineLength, not MAX_LINE_LENGTH #2

bradfitz opened this issue Jan 4, 2014 · 1 comment

Comments

@bradfitz
Copy link

bradfitz commented Jan 4, 2014

Go style is to not use CONSTANTS_LIKE_THIS, except in old legacy cases where we're mimicing some syscall or os constant.

In general, Go constants should be named like any other variable. likeThis or LikeThis, depending on whether or not it's public.

Therefore: MaxLineLength, not MAX_LINE_LENGTH

@jordan-wright
Copy link
Owner

Thanks for all your help Brad - both with this project as well as all your work on Go!

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

2 participants