Versions Compared

Key

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

This page extends the general Go coding references mentioned in the Fabric Coding Guidelines documentation with suggestions specifically tailored to the Hyperledger Fabric codebase.

Adapted from a presentation from Fabric maintainer Matt Sykes.

Disclaimers

  • These are guidelines, not rules.
  • Context matters; use judgement.
  • Just because we can doesn't mean we should.
  • Just because we should doesn't mean we must.

...