Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This page explains preferences in regard to the style of Go code written for the DAOS (and other related) project(s).

We intend to follow the official coding style and idioms used in the standard library, therefore please view this as a supplement to Effective Go and Go Code Review Comments .

...

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.

Exceptions

Currently none.