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

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.

主站蜘蛛池模板: 延吉市| 平潭县| 湘阴县| 林州市| 苍南县| 古交市| 黔江区| 巴南区| 绥滨县| 定西市| 张家界市| 郧西县| 霸州市| 永丰县| 天气| 楚雄市| 建德市| 蒲城县| 静安区| 河南省| 哈巴河县| 张家川| 民勤县| 广饶县| 监利县| 昌宁县| 惠水县| 新河县| 惠水县| 芦溪县| 苗栗县| 讷河市| 永安市| 喀喇沁旗| 保定市| 攀枝花市| 云南省| 望奎县| 七台河市| 梁河县| 鹿邑县|