---
title: identifier
---

An _identifier_ is a string that represents a variable, method, object, or field. It must conform to Go's [language specification][], beginning with a letter or underscore, followed by zero or more letters, digits, or underscores.

  [language specification]: https://go.dev/ref/spec#Identifiers
