We break down practical naming rules in Go: how export (a capital letter) turns something into a package’s public contract, why you should export as little as possible, how to write abbreviations (
ID/
URL/
HTTP) in
CamelCase, and how to choose short, stable receiver names (
t,
s) without extra noise. Plus: a micro-refactoring “before/after” and a list of common mistakes.