1

优步公司的Go语言编写风格指南

 1 month ago
source link: https://www.jdon.com/53251.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

优步公司的Go语言编写风格指南

本指南的目的是通过详细描述在Uber编写Go代码的注意事项来管理这种复杂性。这些规则的存在是为了使代码库易于管理,同时仍然允许工程师有效地使用Go语言功能。
该指南最初由Prashant VaranasiSimon Newton编写,目的是使一些同事快速使用Go。多年来,已根据其他人的反馈进行了修改。
本文档记录了我们在Uber遵循的Go代码中的惯用约定。其中许多是Go的通用准则,而其他准则则依赖于外部资源。
点击标题进入


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK