Go Style

From NovaOrdis Knowledge Base
Revision as of 02:13, 6 September 2023 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

External

Internal

Overview

The Go standard library is a good source of code examples, comments and style.

Identifiers

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

Identifiers should use camel case: SomeColor or someColor. Do not use snake case (some_color).