Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Dependency injection in Go with Uber-go/fx. Parent comment
If you really want to use DI in golang, for some reason, wire[1] at least still gives you type safety and compile-time failures.
1. https://github.com/google/wire
There are no comments on this comment yet.
If you really want to use DI in golang, for some reason, wire[1] at least still gives you type safety and compile-time failures.
1. https://github.com/google/wire