Fx is a dependency injection system for Go. Eliminate globals: Fx helps you remove global state from your application. No more init() or global variables. Use Fx-managed singletons. Code reuse: Fx lets teams within your organization build loosely-coupled and well-integrated shareable components. Battle tested: Fx is the backbone of nearly all Go services at Uber. Reduce boilerplate in setting up your application. Eliminate global state in your application. Add new components and have them instantly accessible across the application. Build general purpose shareable modules that just work.

Features

  • Reduce boilerplate in setting up your application
  • Eliminate global state in your application
  • Add new components and have them instantly accessible across the application
  • Build general purpose shareable modules that just work
  • Parameter Objects
  • Annotations

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Fx for Go

Fx for Go Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Fx for Go!

Additional Project Details

Programming Language

Go

Related Categories

Go Frameworks

Registered

2022-11-18