google-wire

Compile-time Dependency Injection for Go (program)

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/google/wire


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install google-wire