Go Best Practices
IDE Configuration Headers
For Cursor IDE
To create a new Cursor Rule:
- Enter the name as
golang
- 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:
- Create a file named
golang.md
in.kiro/steering/
- 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