
- Category
- AI
- Website
- github.com
- Language
- English
- Listed
- 21d ago
- Stars
- 3,607
- Forks
- 118
JetBrains/go-modern-guidelines ↗, Go, Apache-2.0, Last commit 8d ago
This is a set of guidelines JetBrains publishes for coding agents so that the Go they write looks like Go written now. An agent reading them reaches for max(a, b) instead of an if-else, slices.Contains instead of a hand-rolled loop, cmp.Or instead of a chain of nil checks, and knows about newer additions such as new(42) for a pointer to a value and errors.AsTypeT for type-safe matching. Coverage runs from Go 1.0 through 1.27, including everything the modernize analyser targets, and the agent detects which version a project is on first. Apache-2.0.
Like this product?