agent-orchestrator/packages/cli/templates/rules/go.md

275 B

Follow Go best practices:

  • Use gofmt for formatting
  • Handle all errors explicitly, don't ignore them
  • Use defer for cleanup operations
  • Keep interfaces small and focused
  • Use meaningful variable names (not single letters except in loops)
  • Follow effective Go patterns