Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. WWW: https://github.com/google/wire PR: 264959
- Loading branch information
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
PORTNAME= wire | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 0.5.0 | ||
CATEGORIES= devel | ||
PKGNAMEPREFIX= go- | ||
|
||
MAINTAINER= drtr0jan@yandex.ru | ||
COMMENT= Compile-time Dependency Injection for Go | ||
|
||
LICENSE= APACHE20 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
USES= go:modules | ||
|
||
GO_MODULE= github.com/google/wire | ||
GO_TARGET= ./cmd/wire | ||
|
||
PLIST_FILES= bin/${PORTNAME} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
TIMESTAMP = 1656592374 | ||
SHA256 (go/devel_go-wire/wire-v0.5.0/v0.5.0.mod) = 949a9c283cae78d684b9708fbc723577d3f6abb1eea776ee418d3a6945540c70 | ||
SIZE (go/devel_go-wire/wire-v0.5.0/v0.5.0.mod) = 216 | ||
SHA256 (go/devel_go-wire/wire-v0.5.0/v0.5.0.zip) = 7d6ed4cd7ff88f178e8bc19d50b06ad8607766d802d1998fd5c5cb7ac383322e | ||
SIZE (go/devel_go-wire/wire-v0.5.0/v0.5.0.zip) = 256553 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
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. | ||
|
||
WWW: https://github.com/google/wire |