You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Discover "do", the dependency injection toolkit for Go
4
+
sidebar_position: 0
5
+
---
6
+
7
+
# ✌️ About
8
+
9
+
**⚙️ A dependency injection toolkit based on Go 1.18+ Generics.**
10
+
11
+
This library implements the Dependency Injection design pattern. It may replace the `uber/dig` fantastic package. `samber/do` uses Go 1.18+ generics instead of reflection and therefore offers a typesafe API.
12
+
13
+
**See also:**
14
+
15
+
-[samber/lo](https://github.com/samber/lo): A Lodash-style Go library based on Go 1.18+ Generics
16
+
-[samber/mo](https://github.com/samber/mo): Monads based on Go 1.18+ Generics (Option, Result, Either...)
17
+
18
+
**Why this name?**
19
+
20
+
I love the **short name** for such a utility library. This name is the sum of `DI` and `Go` and no Go package uses this name.
21
+
22
+
## 💡 Features
23
+
24
+
`samber/do` is built with high attention to the developer and contributor experience.
0 commit comments