Golang Cheat Sheet

setup

go install golang.org/x/tools/…@latest

go 语言编程规范

https://github.com/uber-go/guide/blob/master/style.md#reduce-nesting