devel/go-wire 1.3.0_1 FreeBSD
Compile-time Dependency Injection for Go
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- APACHE20
- Categories
- devel
- Package size
- 2345.3 KiB, 6999.8 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/go-wire | 1.3.0_1 |
| DragonFly | devel/go-wire | 0.6.0_5 |
Install
Binary package:
pkg install go-wire
From the ports tree:
cd /usr/ports/devel/go-wire/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= go-wire>0:devel/go-wire
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.0_7 | 1.2.0_7 | - | 0.6.0_10 | 1.3.0 |
| FreeBSD:14:quarterly | 1.2.0_7 | 1.2.0_7 | n/a | 0.6.0_8 | 1.2.0_7 |
| FreeBSD:15:latest | 1.2.0_7 | 1.3.0 | n/a | - | 0.6.0_10 |
| FreeBSD:15:quarterly | 1.2.0_7 | 1.2.0_7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.0_6 | 1.3.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- go:modules
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| go/devel_go-wire/wire-v1.3.0/v1.3.0.mod | 357 | a890fe5dffb0d4ef8f64fb38c393c3469803ade36c2d1160a66261c0eb7e80fc |
| go/devel_go-wire/wire-v1.3.0/v1.3.0.zip | 1.271967e+06 | c5bd8b6192327dc14cc8f5340c380e8d7ca8627f933010885e52d354e1b23e58 |
Commit history 7
The latest 5 of 7 in the history this site was built from.