~marcopolo/di

di/README.md -rw-r--r-- 767 bytes
d9e72376 — Marco Munizaga remove the ability to provide a slice of function constructors 9 months ago

#di

Go Reference

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.

#Contributing and reporting bugs

Contributions and bug reports welcome. Send patches and bugs to ~marcopolo/public-inbox@lists.sr.ht.

Refer to https://git-send-email.io for a primer on how to submit patches.