Awesome Go

Dependency Injection

24 libraries in Miscellaneous / Dependency Injection

autowire

Dependency injection using Generics and reflection

MiscellaneousDependency Injection
boot-go

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

MiscellaneousDependency Injection
componego

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

MiscellaneousDependency Injection
di

A dependency injection container for go programming language

MiscellaneousDependency Injection
dig

A reflection based dependency injection toolkit for Go

MiscellaneousDependency Injection
dingo

A dependency injection toolkit for Go, based on Guice

MiscellaneousDependency Injection
do

A dependency injection framework based on Generics

MiscellaneousDependency Injection
fx

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

MiscellaneousDependency Injection
gocontainer

Simple Dependency Injection Container

MiscellaneousDependency Injection
goioc/di

Spring-inspired Dependency Injection Container

MiscellaneousDependency Injection
GoLobby/Container

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

MiscellaneousDependency Injection
gontainer

A dependency injection service container for Go projects

MiscellaneousDependency 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

MiscellaneousDependency Injection
kod

A generics based dependency injection framework for Go

MiscellaneousDependency Injection
nject

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

MiscellaneousDependency Injection
ore

Lightweight, generic & simple dependency injection (DI) container

MiscellaneousDependency Injection
alice

Additive dependency injection container for Golang

MiscellaneousDependency 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

MiscellaneousDependency Injection
godi

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

MiscellaneousDependency Injection
HnH/di

DI container library that is focused on clean API and flexibility

MiscellaneousDependency Injection
kinit

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

MiscellaneousDependency Injection
linker

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

MiscellaneousDependency 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

MiscellaneousDependency Injection
wire

Strict Runtime Dependency Injection for Golang

MiscellaneousDependency Injection