> For the complete documentation index, see [llms.txt](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/04.0/04.1.md).

# 04.1 关于组合类型

尽管Go提供的类型是非常方便，快速和灵活的，但是不可能满足开发者所有的需求。Go通过提供结构体来解决此问题，开发者可以实现自定义类型。另外，Go还支持元组操作，意思是允许函数返回多个值，这些值并不需要提前声明结构体存放。
