From 9411a3365a10bc0849ae459d3dd6fff92c7e4cd7 Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Mon, 25 Aug 2025 17:35:07 -0700 Subject: [PATCH] Update README --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4c04289d451c1d2f957bc3baca2ea269a840150e..ca0c9aa9c9eab2b7315ed845e3cccc866b0e2175 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,16 @@ # di -A small straightforward DI library for Go. +[![Go Reference](https://pkg.go.dev/badge/git.sr.ht/~marcopolo/di.svg)](https://pkg.go.dev/git.sr.ht/~marcopolo/di) -## Usage - -## Examples +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.