discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
uber-go/fx · source
Snapshot 0 · 2026-11-04T12:47:24Z · Go · MIT
Content fingerprint
a8f4e9d26d43fe01bf4a753a9676a4bed7329a28ec824bf46cbf02b8772a571fGitHub description at capture
A dependency injection based application framework for Go.
README at capture
# :unicorn: Fx [](https://pkg.go.dev/go.uber.org/fx) [](https://github.com/uber-go/fx/releases) [](https://github.com/uber-go/fx/actions/workflows/go.yml) [](https://codecov.io/gh/uber-go/fx/branch/master) [](https://goreportcard.com/report/go.uber.org/fx) Fx is a dependency injection system for Go. **Benefits** - 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. See our [docs](https://uber-go.github.io/fx/) to get started and/or learn more about Fx. ## Installation Use Go modules to install Fx in your application. ```shell go get go.uber.org/fx@v1 ``` ## Getting started To get started with Fx, [start here](https://uber-go.github.io/fx/get-started/). ## Stability This library is `v1` and follows [SemVer](https://semver.org/) strictly. No breaking changes will be made to exported APIs before `v2.0.0`. This project follows the [Go Release Policy](https://golang.org/doc/devel/release.html#policy). Each major version of Go is supported until there are two newer major releases. ## Stargazers over time [](https://starchart.cc/uber-go/fx)