...
Anchor | ||||
---|---|---|---|---|
|
Avoid very long lines but don't enforce a 80-column limit, not having a line limit enables simplifies the use of goimports and gorename. See line-length.
Anchor | ||||
---|---|---|---|---|
|
...
Use of comments is encouraged, comments should be used to describe the intent of code when it is not obvious. See commentary.
Anchor | ||||
---|---|---|---|---|
|
Use of mocking when writing tests is encouraged, see here for a discussion of the use of mocking in go. GoMock is the recommended mocking framework.