> For the complete documentation index, see [llms.txt](https://denglj.gitbook.io/essential-go/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://denglj.gitbook.io/essential-go/02-basic-types/lian-he-ti-bu-zhi-chi.md).

# 联合体(不支持)

Go不像C那样支持联合体(union)。

要把一个类型和一个值组合到单个实体，请使用[空接口](/essential-go/02-basic-types/kong-jie-kou.md)。
