A dependency injection container for Go applications.
go get github.com/sarulabs/diNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a DI container, registers a service, and retrieves it.
Use 'github.com/sarulabs/di' for v2 (note the 'v2' tag) or 'gopkg.in/sarulabs/di.v1' for v1.
No dependency data recorded yet.