97db14083a
* chore_: bump go-waku with filter loop fix * fix_: correct fleet node for staging fleet * fix_: use shards for lightclient init --------- Co-authored-by: Richard Ramos <info@richardramos.me> |
||
---|---|---|
.. | ||
internal | ||
.codecov.yml | ||
.gitignore | ||
.golangci.yml | ||
CHANGELOG.md | ||
LICENSE | ||
Makefile | ||
README.md | ||
callback.go | ||
constructor.go | ||
container.go | ||
cycle_error.go | ||
decorate.go | ||
doc.go | ||
error.go | ||
graph.go | ||
group.go | ||
inout.go | ||
invoke.go | ||
param.go | ||
provide.go | ||
result.go | ||
scope.go | ||
version.go | ||
visualize.go |
README.md
⚒️ dig
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
.