Compile-time Dependency Injection for Go

Edit Package wire

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.

Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000760 760 Bytes
_servicedata 0000000228 228 Bytes
update_go_version.patch 0000000401 401 Bytes
vendor.tar.gz 0000187317 183 KB
wire-0.6.0.tar.gz 0000091616 89.5 KB
wire.changes 0000003038 2.97 KB
wire.spec 0000002084 2.04 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1148285 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 11)
- Packaging improvements:
  * Drop BuildRequires: golang-packaging. The original macros for
    file movements into GOPATH are obsolete with Go modules.
  * Drop autosetup -n arg only needed when archive and package
    name differ
  * Remove goprep macro which is no longer recommended
  * Remove gobuild macro which is no longer recommended
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Remove goinstall macro which is no longer recommended
  * Drop defattr(-,root,root) no longer needed with recent rpm (forwarded request 1148283 from jfkw)
Comments 0
openSUSE Build Service is sponsored by