Skip to content

Commit daee7a4

Browse files
authored
Fix typo in advice on unconstrained types (#1)
2 parents 4020587 + 7a55648 commit daee7a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

instructions/go.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,6 @@ Follow idiomatic Go practices and community standards when writing Go code. Thes
368368
- Not understanding nil interfaces vs nil pointers
369369
- Forgetting to close resources (files, connections)
370370
- Using global variables unnecessarily
371-
- Over-using unconstrained types (e.g., `any`); prefer specific types or generic type parameters with constraints. If an unconstrained type is required, use `any` rather than `interface{}`
371+
- Overusing unconstrained types (e.g., `any`); prefer specific types or generic type parameters with constraints. If an unconstrained type is required, use `any` rather than `interface{}`
372372
- Not considering the zero value of types
373373
- **Creating duplicate `package` declarations** - this is a compile error; always check existing files before adding package declarations

0 commit comments

Comments
 (0)