di

DI container

A lightweight, Spring-like Dependency Injection library for Go

Simple and yet powerful Dependency Injection for Go

GitHub

363 stars
4 watching
15 forks
Language: Go
last commit: about 2 months ago
Linked from 2 awesome lists

dependency-injectiongogolanggolang-libraryinversion-of-control

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
vardius/gocontainer A dependency injection container for Go applications 20
golobby/container An IoC container for dependency injection in Go applications 566
magic003/alice An additive dependency injection container for Golang. 50
hnh/di A dependency injection library with a clean API and flexibility 9
nvidia/gontainer A dependency injection service container for Go projects. 40
gone-io/gone A lightweight dependency injection framework for building cloud-native microservices in Golang. 133
gontainer/gontainer A tool for configuring and building dependency injection containers for Go applications 15
firasdarwish/ore A lightweight and generic dependency injection container for Go that facilitates object lifetimes and inversion of control. 13
samber/do A dependency injection toolkit with Go 1.18+ Generics that provides services with features like health checks, shutdowns, and lifecycle hooks. 1,889
go-kata/kinit A library that provides a global IoC container for dependency injection and object creation 10
tiendc/autowire A dependency injection framework for Go that allows automatic wiring and provides flexibility in configuration and testing. 10
muir/nject A type-safe dependency injection system for Go that enables efficient and flexible creation of application chains. 29
yiisoft/di A dependency injection container that enables flexible and modular application configuration through defined classes and their dependencies. 182
fs02/wire A runtime dependency injection and wiring library for Go applications. 37