🦄 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 Glide:
glide get 'go.uber.org/fx#^1'
Alternatively you can add it as a dependency using go mod:
go get go.uber.org/fx@v1
Or by using dep:
dep ensure -add go.uber.org/fx@1.0.0
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.