2 ms·
Personally, a larger fan of Uber FX [0]. You don't "need" it in golang, but for me, it encourages nice code separation in a way that makes it really easy to wr
by latchkey 4y ago
Personally, a larger fan of Uber FX [0].
You don't "need" it in golang, but for me, it encourages nice code separation in a way that makes it really easy to write tests for my components. You tend to think a lot more about how code is organized in order to make it as easy as possible to unit test. I also like the service start/stop functionality.
[0] https://github.com/uber-go/fx https://github.com/uber-go/fx