News for hackers. Stuff that matters.
Re:Portable Cloud Programming with Go Cloud by enjoylife on Tuesday July 24, 2018 @02:18PM (#17603642)
Doesn't replace context, and neither is it alone in terms of being a DI library, [1].

[1] https://github.com/uber-go/fx

Re:Portable Cloud Programming with Go Cloud by latchkey on Tuesday July 24, 2018 @10:33PM (#17606531)
As a Java engineer, I really missed DI in golang. Then I found fx.

Once I wrapped my brain around fx, I really liked it and used it heavily in a project I wrote. It was especially good for initializing 'things' of the same 'type'. Like a bunch of controllers for a web app.

One nice thing about fx is that it does not rely on code generation (uses reflection instead). I'm very curious what other features wire has over fx.