nject VS godi

Compare nject vs godi and see what are their differences.

godi

GODI - Simple & Performant Dependency Injection Container for Go (by mingue)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nject godi
1 1
28 7
- -
3.9 1.8
11 months ago about 1 year ago
Go Go
MIT License Apache License 2.0
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.

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
    3 projects | /r/golang | 28 Oct 2022
    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.

godi

Posts with mentions or reviews of godi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-28.

What are some alternatives?

When comparing nject and godi you can also consider the following projects:

wire - Compile-time Dependency Injection for Go

golang-set - A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.

linker - Dependency Injection and Inversion of Control package

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

lancet - A comprehensive, efficient, and reusable util function library of Go.

dig - A reflection based dependency injection toolkit for Go.

lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

gocontainer - Simple Dependency Injection Container

do - ⚙️ A dependency injection toolkit based on Go 1.18+ Generics.

fx - A dependency injection based application framework for Go.

validation - Golang validation framework based on static typing and generics