fx VS container

Compare fx vs container and see what are their differences.


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


A lightweight yet powerful IoC dependency injection container for Go projects (by golobby)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
fx container
8 0
2,338 269
1.8% 5.6%
8.3 7.2
9 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.


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-11-17.


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

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

What are some alternatives?

When comparing fx and container 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

di - ๐Ÿ›  A full-featured dependency injection container for go programming language.

go.uuid - UUID package for Go

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

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

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

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

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

gocontainer - Simple Dependency Injection Container