Dependency Injection #
Dependency Injection is a very loaded topic among both the Go and Java communities. In the Java world, DI is big. Really big. If you come from a large monolithic Spring application, your immediate reaction will be to start googling around for a way to bring those beloved @Inject
s into the Go world. It doesn’t seem realistic that in 2022, a programming language would ask you to write functions taking a large number of parameters, only to pass those around ad-infinitum.
Right?
Right?
Well, it sort of does.
😆 Not so fast. There will be more on this topic in due time.