From 9dfc70fb8c4a82fbe3bff052d8bddeeff5541ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=B5=D0=BD=D1=82=D1=8C=D0=B5=D0=B2?= Date: Wed, 8 Apr 2026 19:26:40 +0300 Subject: [PATCH] Add _test suffix (#15) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Александр Мелентьев --- skills/golang-naming/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/golang-naming/SKILL.md b/skills/golang-naming/SKILL.md index b44a208..a81b617 100644 --- a/skills/golang-naming/SKILL.md +++ b/skills/golang-naming/SKILL.md @@ -33,7 +33,7 @@ To ignore a rule, just add a comment to the code. | Element | Convention | Example | | --- | --- | --- | -| Package | lowercase, single word | `json`, `http`, `tabwriter` | +| Package | lowercase, single word, _test suffix OK for test files | `json`, `http`, `tabwriter`, `http_test` | | File | lowercase, underscores OK | `user_handler.go` | | Exported name | UpperCamelCase | `ReadAll`, `HTTPClient` | | Unexported | lowerCamelCase | `parseToken`, `userCount` |