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

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.

主站蜘蛛池模板: 昭苏县| 临沭县| 莲花县| 吉首市| 义马市| 绍兴县| 泊头市| 古浪县| 贵州省| 宜城市| 巢湖市| 大港区| 尖扎县| 靖江市| 武隆县| 平阳县| 平安县| 洪洞县| 天台县| 措勤县| 鄄城县| 贡觉县| 灯塔市| 兴国县| 文昌市| 台东市| 东港市| 大方县| 邮箱| 仪征市| 南昌县| 沙坪坝区| 元朗区| 阿合奇县| 海原县| 长海县| 林口县| 诏安县| 巴里| 嫩江县| 平山县|