Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

For some reason we forgot to update the CI toolchain when Go 1.20
came out so it was still running 1.18 and 1.19. This fixes that.

Git stats


Failed to load latest commit information.
Latest commit message
Commit time
November 14, 2019 13:31
January 2, 2018 16:03
November 14, 2019 13:31
October 6, 2022 05:50
October 25, 2017 09:48
December 13, 2022 13:53

⚒️ dig GoDoc GitHub release Build Status Coverage Status Go Report Card

A reflection based dependency injection toolkit for Go.

Good for:

  • Powering an application framework, e.g. Fx.
  • Resolving the object graph during process startup.

Bad for:

  • Using in place of an application framework, e.g. Fx.
  • Resolving dependencies after the process has already started.
  • Exposing to user-land code as a Service Locator.


We recommend consuming SemVer major version 1 using your dependency manager of choice.

$ glide get '^1'
$ dep ensure -add ""
$ go get ''


This library is v1 and follows SemVer strictly.

No breaking changes will be made to exported APIs before v2.0.0.

Stargazers over time

Stargazers over time