In Go I've seen some people defining symbols (methods, variables, etc) like this: UserID
, GetSomeURL()
with UPPERCASE letters of ids, urls, etc.
Is this a standard way?
Even my editor, that uses go-lint, warns me that I should change it (because I use UserId).
I read some of the golang source code https://golang.org/src/ and I never saw some like UserID
.
Is this going to be another "tabs" vs "spaces" thing? LOL
I know this does not cause any problems compiling or any other problem, but I'm just trying get some "standard" on this.