Skip to content

Go Best Practices

IDE Configuration Headers

For Cursor IDE

To create a new Cursor Rule:

  1. Enter the name as golang
  2. Copy & paste the following header and rule content below:
---
description: Go Best Practices
globs: **/*.go
alwaysApply: false
---

For Kiro IDE

To create a new Kiro Steering Document:

  1. Create a file named golang.md in .kiro/steering/
  2. Copy & paste the following header and rule content below:
---
inclusion: fileMatch
fileMatchPattern: '**/*.go'
---

For more information about IDE rules, visit: - Cursor Project Rules - Kiro Steering Documents

Rule Content