# di [![Go Reference](https://pkg.go.dev/badge/git.sr.ht/~marcopolo/di.svg)](https://pkg.go.dev/git.sr.ht/~marcopolo/di) A small, straightforward, DI library for Go. ## Why another DI library? I wanted a DI library solution for libraries. Something that doesn't force users into a certain framework, yet works well with whatever the end user uses. I also wanted: - A single definition of all inputs and outputs. - A way to provide and override defaults clearly. - Generics to convey type information.