Re:Dependency injection in Go with Uber-go/fx
by mkdirp on Sunday February 27, 2022 @06:28PM
(#30493964)
A service still needs its own dependencies, thus forcing you to change its factories where needed. With a DI you re-define it in a single place.
[ Parent
| on HN ]
There are no comments on this comment yet.