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.
proxy.golang.org
v0.7.0
6 months ago
9
2,415
7,687
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/google/wire
spec |
| License | Apache-2.0 |
| Namespace | github.com/google |
| First Release | over 7 years ago |
| Last Synced | about 17 hours ago |
Repository
| Stars | 14,242 on GitHub |
| Forks | 696 on GitHub |
| Docker Dependents | 1,299 |
| Docker Downloads | 7,949,906,850 |
| Commits | 198 |
| Committers | 37 |
| Avg per Author | 5.351 |
| DDS | 0.626 |