heart Posts from the community...
@dryrainbow shared a post, 1 year, 1 month 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.