blob: 2d1ea8a2a0df3dd00b08b0f1f0d9b62ac7aff5d4 [file] [log] [blame] [view]
---
title: Spelling
---
This page documents the spelling choices that the Go project has made for English words.
This page is a statement of policy. Do not edit it without approval/discussion.
Policy:
* American spellings over British spellings
* **iff** means "if and only if" (https://en.wiktionary.org/wiki/iff), but don't use it in public-facing docs (don't use in comments on exported identifiers that would show up in godoc)
* avoid Latin abbreviations in godoc
* use **cancellation** (two ells), not cancelation. See https://go.dev/cl/170060
* use **canceled** (one ell), not cancelled.
* use **canceling** (one ell), not cancelling.
* use **marshaling**, **marshaled** etc (single ell). See https://go.dev/cl/33017