/fx

A dependency injection based application framework for Go.

Primary LanguageGoMIT LicenseMIT

🦄 Fx GoDoc Github release Build Status Coverage Status Go Report Card

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'

Stability

This library is v1 and follows SemVer strictly.

No breaking changes will be made to exported APIs before v2.0.0.

Supported Go versions: 1.9, 1.10

This project follows the Go Release Policy. Each major version of Go is supported until there are two newer major releases.