Bug#952490: ITP: golang-github-google-wire -- Compile-time Dependency Injection for Go
Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@debian.org>
* Package name : golang-github-google-wire
Version : 0.4.0-1
Upstream Author : The Wire Authors, Google LLC
* URL : https://github.com/google/wire
* License : Apache-2.0
Programming Lang: Go
Description : Compile-time Dependency Injection for Go
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
Reason for packaging:
Required by hugo >= 0.56.0, and
Google's wire command may be helpful too.
Note:
An existing Debian go-wire package of the Tendermint project
also provides /usr/bin/wire, but actually Tendermint upgraded
and renamed the project from Go-Wire to Go-Amino back in April 2018.
I will reach out to go-wire’s original packager Alessio Treglia
to migrate Debian’s go-wire to go-amino too.
So there should be no conflict or namespace clash with Google’s Wire.
Reply to: