gocontainer
Simple Dependency Injection Container (by vardius)
nject
Golang type-safe dependency injection (by muir)
Our great sponsors
gocontainer | nject | |
---|---|---|
- | 1 | |
19 | 28 | |
- | - | |
0.0 | 3.9 | |
about 4 years ago | 11 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.
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.
gocontainer
Posts with mentions or reviews of gocontainer.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning gocontainer yet.
Tracking mentions began in Dec 2020.
nject
Posts with mentions or reviews of nject.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-28.
-
godi a New Dependency Injection library - feedback welcome
For those who commented about Java & DI: I used DI with Java and hated it. It seemed to be simply a complex interface around global variables. Please take a look at [nject]([https://github.com/muir/nject]. The idea is fundamentally different: you create an injection chain out of reusable components. I won't say that it makes DI simple, but it does alter the cost/benefit ratio such that DI becomes very advantageous for several uses.
What are some alternatives?
When comparing gocontainer and nject you can also consider the following projects:
dig - A reflection based dependency injection toolkit for Go.
wire - Compile-time Dependency Injection for Go
fx - A dependency injection based application framework for Go.
linker - Dependency Injection and Inversion of Control package
goioc/di - Simple and yet powerful Dependency Injection for Go
container - A lightweight yet powerful IoC dependency injection container for the Go programming language
di - 🛠A full-featured dependency injection container for go programming language.