Go Naming

Use when naming any Go identifier — packages, types, functions, methods, receivers, variables, constants, errors, options. Covers MixedCaps, scope-based length, initialism casing, the no-`Get` rule, `-er` interfaces, sentinel `ErrX` vs typed `XError`, and the most commonly missed conventions (constructors, boolean fields, enum zero values, lowercase error strings). Apply proactively whenever new identifiers are introduced, even if the user has not asked about naming.

muratmirgun d250deb 5 files · 20.8 KB Updated

File contents

muratmirgun/gophers/tree/main/skills/go-naming commit d250deb538

Frequently asked questions

npx skillmds@latest add muratmirgun/go-naming