dig

DI library

A toolkit for managing dependencies in Go applications using reflection-based dependency injection.

A reflection based dependency injection toolkit for Go.

GitHub

4k stars
45 watching
208 forks
Language: Go
last commit: 5 months ago
Linked from 2 awesome lists

dependency-injectiondigogolang

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
uber-go/fx A dependency injection framework for Go that eliminates global state and enables loose coupling of components. 5,982
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-kod/kod A framework that enables dependency injection and aspect-oriented programming using generics and interceptors 173
google/wire Automated dependency injection tool for Go applications 13,186
gone-io/gone A lightweight dependency injection framework for building cloud-native microservices in Golang. 133
masterminds/glide Tools for managing dependencies in Go projects 8,148
goioc/di A lightweight, Spring-like Dependency Injection library for Go 363
i-love-flamingo/dingo A dependency injection framework for Go 182
tiendc/autowire A dependency injection framework for Go that allows automatic wiring and provides flexibility in configuration and testing. 10
gofr-dev/gofr An opinionated GoLang framework for accelerated microservice development with built-in support for databases and observability. 3,771
golobby/container An IoC container for dependency injection in Go applications 566
golang/tools Provides tools and packages for static analysis and code transformation of Go programs. 7,430
fs02/wire A runtime dependency injection and wiring library for Go applications. 37
nvidia/gontainer A dependency injection service container for Go projects. 40