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

Created

Jun 2026

Total stars

52

7 days

0

30 days

0

12 months

+52

Star trends

README badge

Best of Go badge for shanjunmei/dig
[![Best of Go](https://bestofgo.dev/badge/shanjunmei/dig.svg)](https://bestofgo.dev/shanjunmei/dig)