This is the slide for the talk I shared in coscup2017. The video recording is here: https://youtu.be/4EWAatxGS6Q?t=7h8m
Introduction to some basic concepts: Dependency Inversion Principle (DIP), Inversion of Control (IoC), Dependency Injection (DI). Demo a golang injection framework and review the pros and cons about DI.