shanjunmei / dig
dig is a compile‑time code generation based DI tool for Go. It provides a more intuitive API than Wire , with native generics support , built‑in closure capture safety that Wire lacks, and is faster than Fx by eliminating runtime reflection — all with zero runtime dependencies
Last push 2 months ago
code-generation
dependency-injection
di
dig
framework
fx
go
golang
microservices
modular
wire
wire-alternative
Created
Jun 2026
Total stars
52
Last 7 days
0
Last 30 days
0
Last 12 months
+52
README badge
[](https://bestofgo.dev/shanjunmei/dig)