|
|
|
|
|
by JulianMorrison
1570 days ago
|
|
Given that Go modules can depend on private interfaces that specify only the methods they need, dependency injection of the pass-dependencies-to-the-constructor style seems almost built in. Not automated as such, but easy. |
|