官术网_书友最值得收藏!

Summary

In this chapter, we started a journey—a journey that will lead to code that is easier to maintain, extend, and test.

We started by defining DI and examining some of the benefits it can bring us. With the help of a few examples, we saw how this might look in Go.

After that, we started identifying code smells to look out for and that could be addressed or alleviated by applying DI.

Finally, we examined what I believe Go code looks like, and I challenged you to be skeptical and apply a critical eye to techniques presented in this book.

主站蜘蛛池模板: 澎湖县| 青浦区| 喀喇沁旗| 延庆县| 磴口县| 上高县| 黑水县| 乐都县| 清原| 石泉县| 秦安县| 蓝田县| 平凉市| 田阳县| 乐陵市| 抚顺市| 德令哈市| 元谋县| 三穗县| 南澳县| 垣曲县| 类乌齐县| 凤台县| 金塔县| 特克斯县| 乌鲁木齐县| 客服| 蒙自县| 涟水县| 健康| 四会市| 苗栗县| 广南县| 宣化县| 襄樊市| 同仁县| 友谊县| 台东县| 通榆县| 当雄县| 东乌珠穆沁旗|