# 标识符（identifier）
> 表示变量、方法、对象或字段的字符串，须符合 Go 的标识符规范。
- 官方英文原文：https://gohugo.io/quick-reference/glossary/identifier/
- 本页规范地址：https://hugozh.cn/quick-reference/glossary/identifier/
- 最近更新：2026-10-02
- 最后提交：912b1d3 chore(site): 添加 static/CNAME（hugozh.cn），供 GitHub Pages 等平台绑定自定义域名
- 站点：Hugo 中文文档（https://hugozh.cn/）· 社区维护的非官方中文翻译，如有出入以官方英文原文为准

---
标识符（identifier）是表示变量、方法、对象或字段的字符串。它必须符合 Go 的[语言规范][language specification]，以字母或下划线开头，后跟零个或多个字母、数字或下划线。

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

