In these series, I’ve covered articles on using dependency injection in Go using Fx via some hands-on tutorials.

Dependency Injection in Go using Fx
This part covers what dependency injection is, what are the alternatives and it provides a gentle introduction to the Fx framework.

Managing Shared Components in Go Microservices with Fx
This part expands on the previous one by showcasing how one can leverage Fx to structure the application into modules, reusable across multiple service boundaries.