Go Style: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* https://google.github.io/styleguide/go/ | * https://google.github.io/styleguide/go/ | ||
* https://go.dev/doc/effective_go | * https://go.dev/doc/effective_go | ||
* https://github.com/golang/go/wiki/CodeReviewComments | |||
=Internal= | =Internal= |
Revision as of 02:10, 6 September 2023
External
- https://google.github.io/styleguide/go/
- https://go.dev/doc/effective_go
- https://github.com/golang/go/wiki/CodeReviewComments
Internal
Overview
Identifiers
Identifiers should use camel case: SomeColor
or someColor
. Do not use snake case (some_color
).