No.2 代码质量审查时通用的指导,简单几句话教你写地道的代码,Go官方出品

Go Code Review Comments(Go代码审查注解)

This page collects common comments made during reviews of Go code, so that a single detailed explanation can be referred to by shorthands. This is a laundry list of common mistakes, not a style guide.
本页收集在Go代码审查过程中发表的常见评论,以便可以通过简短的说明来提及一个详细的解释。 这是一个常见错误的清单,而不是风格指南。

You can view this as a supplement to(你可以查看此补充说明)
Please discuss changes before editing this page, even minor ones. Many people have opinions and this is not the place for edit wars.
在编辑本页面之前,请讨论更改,甚至是次要更改。很多人都有自己的观点,而这不是编辑斗争的地方。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容