fx VS di

Compare fx vs di and see what are their differences.

fx

A dependency injection based application framework for Go. (by uber-go)

di

๐Ÿ›  A full-featured dependency injection container for go programming language. (by goava)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
fx di
10 0
2,451 123
4.6% 12.2%
8.1 5.4
6 days ago about 2 months ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

fx

Posts with mentions or reviews of fx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-26.

di

Posts with mentions or reviews of di. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning di yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing fx and di you can also consider the following projects:

dig - A reflection based dependency injection toolkit for Go.

wire - Strict Runtime Dependency Injection for Golang

captcha - :sunglasses:Package captcha provides an easy to use, unopinionated API for captcha generation

container - A lightweight yet powerful IoC dependency injection container for Go projects

wire - Compile-time Dependency Injection for Go

watermill - Building event-driven applications the easy way in Go.

goioc/di - Simple and yet powerful Dependency Injection for Go

todo-api-microservice-example - Go microservice tutorial project using Domain Driven Design and Onion Architecture!

deckmaster - An application to control your Elgato Stream Deck on Linux

archiver - Easily create & extract archives, and compress & decompress files of various formats