heart Posts from the community...
Story
@dryrainbow shared a post, 2 years, 4 months ago
Software Engineer, Space307

Dependency injection in Golang

DI (Dependency Injection) is a technique when your modules receive dependency indirectly. They don’t know about the implementation of dependency, only about the interface. DI can help us to write low coupling code. It means that you would be able to exchange your code whenever you want, and it helps to reuse some of their parts.

0_5L4RqWmahah7aNhY.png