fx
fx copied to clipboard
A dependency injection based application framework for Go.
:unicorn: Fx

An application framework for Go that:
- Makes dependency injection easy.
- Eliminates the need for global state and
func init().
Installation
We recommend locking to SemVer range ^1 using go mod:
go get go.uber.org/fx@v1
Stability
This library is v1 and follows SemVer strictly.
No breaking changes will be made to exported APIs before v2.0.0.
This project follows the Go Release Policy. Each major version of Go is supported until there are two newer major releases.