You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instructions/go.instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -368,6 +368,6 @@ Follow idiomatic Go practices and community standards when writing Go code. Thes
368
368
- Not understanding nil interfaces vs nil pointers
369
369
- Forgetting to close resources (files, connections)
370
370
- 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{}`
372
372
- Not considering the zero value of types
373
373
-**Creating duplicate `package` declarations** - this is a compile error; always check existing files before adding package declarations
0 commit comments