> 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/16-functions.md).

# 16 函数

- [参数](https://denglj.gitbook.io/essential-go/16-functions/parameters.md)
- [返回值](https://denglj.gitbook.io/essential-go/16-functions/return-values.md)
- [命名返回值](https://denglj.gitbook.io/essential-go/16-functions/named-return-values.md)
- [可变参数函数](https://denglj.gitbook.io/essential-go/16-functions/variadic-functions.md)
- [函数字面量](https://denglj.gitbook.io/essential-go/16-functions/function-literals.md)
- [函数类型的变量](https://denglj.gitbook.io/essential-go/16-functions/variables-of-function-type.md)
- [闭包](https://denglj.gitbook.io/essential-go/16-functions/closures.md)
