Wire: Automated Initialization in Go
.
Wire is a code generation tool that automates connecting components
using dependency injection. Dependencies between components are
represented in Wire as function parameters, encouraging explicit
initialization instead of global variables. Because Wire operates
without runtime state or reflection, code written to be used with
Wire is useful even for hand-written initialization.
.
For an overview, see the introductory blog post
https://blog.golang.org/wire
.
This package contains the wire command-line program.
Installed Size: 4.9 MB
Architectures: arm64 amd64