Dependency Injection

Libraries for working with dependency injection.

google/wire13.3K

Automated Initialization in Go.

fx6.1K

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

dig4K

A reflection based dependency injection toolkit for Go.

do1.9K

A dependency injection framework based on Generics.

GoLobby/Container568

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

goioc/di363

Spring-inspired Dependency Injection Container.

di234

A dependency injection container for go programming language.

dingo181

A dependency injection toolkit for Go, based on Guice.

kod177

A generics based dependency injection framework for Go.

alice50

Additive dependency injection container for Golang.

gontainer40

A dependency injection service container for Go projects.

wire37

Strict Runtime Dependency Injection for Golang.

linker36

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

nject30

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

componego26

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

gocontainer20

Simple Dependency Injection Container.

gontainer/gontainer15

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

ore13

Lightweight, generic & simple dependency injection (DI) container.

autowire10

Dependency injection using Generics and reflection.

kinit10

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

HnH/di8

DI container library that is focused on clean API and flexibility.