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