Skip to content

irr123/di

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightweight DI Container for Go

This package provides a simple dependency injection (DI) container for Go applications. It helps you to reuse entities and manage it's lifecycle.

  • 150 loc
  • Generics
  • No codegen
  • No external dependencies
  • No interfaces which have to be implemented

Example

Installation

go get github.com/irr123/di

About

Golang dependency injection container

Resources

License

Stars

Watchers

Forks

Packages

No packages published