Package Usage: go: github.com/google/wire
Package wire contains directives for Wire code generation.
For an overview of working with Wire, see the user guide at
https://github.com/google/wire/blob/master/docs/guide.md
The directives in this package are used as input to the Wire code generation
tool. The entry point of Wire's analysis are injector functions: function
templates denoted by only containing a call to Build. The arguments to Build
describes a set of providers and the Wire code generation tool builds a
directed acylic graph of the providers' output types. The generated code will
fill in the function template by using the providers from the provider set to
instantiate any needed types.
8 versions
Latest release: plus de 4 ans ago
2 415 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/google/wire