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
44 watching
207 forks
Language: Go
last commit: 3 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,885
samber/do A dependency injection toolkit with Go 1.18+ Generics that provides services with features like health checks, shutdowns, and lifecycle hooks. 1,868
go-kod/kod A generics-based dependency injection framework for Go that supports OpenTelemetry trace/metric/log natively. 169
google/wire Automated dependency injection tool for Go applications 13,077
gone-io/gone A lightweight dependency injection framework for Go microservices 129
masterminds/glide Tools for managing dependencies in Go projects 8,145
goioc/di A lightweight, Spring-like Dependency Injection library for Go 362
i-love-flamingo/dingo A dependency injection framework for Go 180
tiendc/autowire A dependency injection framework for Go that allows automatic wiring and provides flexibility in configuration and testing. 8
gofr-dev/gofr A GoLang framework designed to simplify microservice development with built-in support for databases and observability. 3,582
golobby/container An IoC container for dependency injection in Go applications 563
golang/tools Provides tools and packages for static analysis and code transformation of Go programs. 7,401
fs02/wire A runtime dependency injection and wiring library for Go applications. 37
nvidia/gontainer A dependency injection service container for Go projects. 39
defval/di A dependency injection container for the Go programming language 233