github.com/goforj/wire
Package wire contains directives for Wire code generation. For an overview of working with Wire, see the user guide at https://github.com/goforj/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.
proxy.golang.org
v1.1.0
3 months ago
2
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/goforj/wire
spec |
| License | Apache-2.0 |
| Namespace | github.com/goforj |
| First Release | 3 months ago |
| Last Synced | 4 days ago |
Repository
| Stars | 239 on GitHub |
| Forks | 4 on GitHub |