Awesome Go

Dependency Injection

27 libraries in Miscellaneous / Dependency Injection

fx

A dependency injection based application framework for Go (built on top of dig)

7,702MiscellaneousDependency Injection
dig

A reflection based dependency injection toolkit for Go

4,505MiscellaneousDependency Injection
do

A dependency injection framework based on Generics

2,820MiscellaneousDependency Injection
GoLobby/Container

GoLobby Container is a lightweight yet powerful IoC dependency injection container for the Go programming language

610MiscellaneousDependency Injection
goioc/di

Spring-inspired Dependency Injection Container

379MiscellaneousDependency Injection
kod

A generics based dependency injection framework for Go

199MiscellaneousDependency Injection
dingo

A dependency injection toolkit for Go, based on Guice

189MiscellaneousDependency Injection
gontainer

A dependency injection service container for Go projects

156MiscellaneousDependency Injection
Go-Spring

A high-performance Go framework inspired by Spring Boot, offering DI, auto-configuration, and lifecycle management while maintaining Go's simplicity and efficiency

84MiscellaneousDependency Injection
godi

Microsoft-style dependency injection for Go with scoped lifetimes and generics

79MiscellaneousDependency Injection
alice

Additive dependency injection container for Golang

51MiscellaneousDependency Injection
wire

Strict Runtime Dependency Injection for Golang

40MiscellaneousDependency Injection
boot-go

Component-based development with dependency injection using reflections for Go developers

37MiscellaneousDependency Injection
parsley

A flexible and modular reflection-based DI library with advanced features like scoped contexts and proxy generation, designed for large-scale Go applications

37MiscellaneousDependency Injection
linker

A reflection based dependency injection and inversion of control library with components lifecycle support

35MiscellaneousDependency Injection
nject

A type safe, reflective framework for libraries, tests, http endpoints, and service startup

33MiscellaneousDependency Injection
componego

A dependency injection framework based on components, allowing dynamic dependency replacement without duplicating code in tests

29MiscellaneousDependency Injection
ore

Lightweight, generic & simple dependency injection (DI) container

28MiscellaneousDependency Injection
gocontainer

Simple Dependency Injection Container

21MiscellaneousDependency Injection
gontainer/gontainer

A YAML-based Dependency Injection container for GO. It supports dependencies' scopes, and auto-detection of circular dependencies. Gontainer is concurrent-safe

17MiscellaneousDependency Injection
floatdrop/di

Dependency injection container built on generic methods, with child scopes, lifecycle hooks and graph validation before anything is built

13MiscellaneousDependency Injection
autowire

Dependency injection using Generics and reflection

12MiscellaneousDependency Injection
kinit

Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization

10MiscellaneousDependency Injection
HnH/di

DI container library that is focused on clean API and flexibility

9MiscellaneousDependency Injection
go-beans

Spring-inspired dependency injection and application lifecycle framework for Go

2MiscellaneousDependency Injection
di

A dependency injection container for go programming language

MiscellaneousDependency Injection
yama

Compile-time dependency injection and lifecycle framework that generates start, quiesce, and stop code for Google Wire graphs

MiscellaneousDependency Injection