learning_notes

学习笔记

View project on GitHub

API

使用统一的定义(比如使用protobuf)

好处

  • API仓库,方便跨部门协作
  • 版本管理,基于git控制
  • 规范化检查,API lint
  • 变更diff
  • 权限管理,目录OWNENS

技巧

  • 使用 google.protobuf.FieldMask 来设置一些字段的部分更新

接口管理工具

json to code