咸糖 - 自律者自由

Recent content on 咸糖 - 自律者自由

马上订阅 咸糖 - 自律者自由 RSS 更新: https://vim0.com/index.xml

Golang: 如何处理日渐膨胀的 interface

2022年2月13日 20:23
The bigger the interface,the weaker the abstraction。Go Proverbs 先说结论吧,如果你的 Golang interface 有太多函数导致你很难横向拓展,那就把它按照职责拆分