Skip to content
/ dig Public
forked from uber-go/dig

A reflection based dependency injection toolkit for Go.

License

Notifications You must be signed in to change notification settings

Appointy/dig

This branch is 21 commits behind uber-go/dig:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a30081d · May 3, 2023
Mar 20, 2023
Aug 3, 2022
Jan 20, 2022
Feb 25, 2023
Jun 9, 2021
Nov 14, 2019
May 3, 2023
Jan 3, 2018
Dec 4, 2021
Dec 13, 2022
May 1, 2023
Nov 14, 2019
May 1, 2023
Feb 25, 2022
Dec 13, 2022
Dec 13, 2022
Nov 4, 2022
May 1, 2023
Jan 30, 2023
Jan 20, 2022
May 1, 2023
Oct 6, 2022
Dec 13, 2022
Nov 4, 2022
Jan 4, 2019
Oct 25, 2017
Feb 21, 2023
May 31, 2022
Jan 3, 2022
Nov 4, 2022
Aug 1, 2022
Nov 4, 2022
Apr 24, 2023
Nov 4, 2022
Mar 15, 2022
May 1, 2023
Dec 22, 2021
Jan 30, 2023
Nov 4, 2022
Dec 13, 2022
Jan 20, 2022
Aug 1, 2022
Jan 20, 2022
May 3, 2023
Nov 4, 2022
Aug 3, 2022
Nov 4, 2022
Jan 30, 2023

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

About

A reflection based dependency injection toolkit for Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.5%
  • Other 0.5%