Go Style: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:


=Identifiers=
=Identifiers=
{{External|https://google.github.io/styleguide/go/guide#mixedcaps}}


Camel case are recommended: <code>SomeColor</code> or <code>someColor</code>. Do not use snake case (<code>some_color</code>).
Camel case are recommended: <code>SomeColor</code> or <code>someColor</code>. Do not use snake case (<code>some_color</code>).

Revision as of 22:36, 18 August 2023

External

Internal

Identifiers

https://google.github.io/styleguide/go/guide#mixedcaps

Camel case are recommended: SomeColor or someColor. Do not use snake case (some_color).