Back to Cadence

Go Code Style Guidelines

.agents/go-style.md

1.4.1429 B
Original Source

Go Code Style Guidelines

Follow the Uber Go Style Guide for all Go code.

Reference: https://raw.githubusercontent.com/uber-go/guide/refs/heads/master/style.md

When writing or editing Go code:

  • Consult the style guide for specific patterns
  • Search the guide when unsure about implementation details
  • Follow established conventions in the codebase

Note: This rule applies only to Go code. Skip for other languages.