A very simple Go dependency injection container.
-
Updated
Feb 13, 2017 - Go
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
A very simple Go dependency injection container.
Dependency injection for go, support ID for objects of a same type
An additive dependency injection container for Golang.
Dependency Injection Container for Go
Golang injection framework based on https://github.com/facebookgo/inject
simple demo for nex(https://github.com/lonnng/nex)
Go endpoint framework (dependency injection and wrapping)
Aiming to simplify the construction of JSON API service
godi is lightweight DI container library for golang
Simple dependency injection service container in golang
Dependency management container for Golang projects
Sends parsed data from a XML SAF-T file to Kafka
Provides JWT tokens to valid users and is responsible for users management
Created by Martin Fowler
Released January 23, 2004