A reflection based dependency injection toolkit for Go.
See the codeA reflection based dependency injection toolkit for Go.
We recommend consuming SemVer major version 1 using
your dependency manager of choice.
$ glide get 'go.uber.org/dig#^1'
$ dep ensure -add "go.uber.org/dig@v1"
$ go get 'go.uber.org/dig@v1'
This library is v1 and follows SemVer strictly.
No breaking changes will be made to exported APIs before v2.0.0.
Overall
Maintained
Code review
Go module
Latest release
Releases this year
(top 24 of 32)
1,519 followers · starred May 2025
253 followers · starred May 2017
388 followers · starred Oct 2025
297 followers · starred May 2018
A reflection based dependency injection toolkit for Go.
See the codeA reflection based dependency injection toolkit for Go.
We recommend consuming SemVer major version 1 using
your dependency manager of choice.
$ glide get 'go.uber.org/dig#^1'
$ dep ensure -add "go.uber.org/dig@v1"
$ go get 'go.uber.org/dig@v1'
This library is v1 and follows SemVer strictly.
No breaking changes will be made to exported APIs before v2.0.0.
Overall
Maintained
Code review
Go module
Latest release
Releases this year
(top 24 of 32)
1,519 followers · starred May 2025
253 followers · starred May 2017
388 followers · starred Oct 2025
297 followers · starred May 2018