Skip to content

uber-go/dig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79808e1 · Mar 3, 2025
Feb 12, 2025
Jul 2, 2024
Jan 20, 2022
Jun 9, 2021
Nov 14, 2019
Feb 13, 2024
Mar 3, 2025
Jan 3, 2018
Feb 13, 2024
Dec 13, 2022
Jul 2, 2024
Jul 2, 2024
Feb 25, 2022
Jul 2, 2024
Dec 13, 2022
Nov 4, 2022
Jul 2, 2024
Feb 13, 2024
Jul 2, 2024
Jul 2, 2024
Oct 3, 2023
Sep 2, 2024
Feb 13, 2024
Jan 4, 2019
Aug 18, 2023
May 31, 2022
Jan 3, 2022
Nov 4, 2022
Aug 1, 2022
Nov 4, 2022
Feb 13, 2024
Feb 13, 2024
Feb 13, 2024
May 1, 2023
Dec 22, 2021
Jan 30, 2023
Nov 4, 2022
Jul 2, 2024
Jan 20, 2022
Oct 18, 2023
Jan 20, 2022
Mar 3, 2025
Feb 18, 2025
Feb 26, 2024
Nov 4, 2022
Jan 26, 2024

Repository files navigation

⚒️ 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.

Installation

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'

Stability

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