Skip to content
Sections
>> Trisquel >> Packages >> nabia >> devel >> google-wire
nabia  ] [  aramo  ]
[ Source: golang-github-google-wire  ]

Package: google-wire (0.4.0-3)

Compile-time Dependency Injection for Go (program)

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.

Download google-wire

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 1,699.6 kB5343 kB [list of files]
armhf 1,484.6 kB4706 kB [list of files]