devel/go-wire 0.6.0_5 DragonFly
Compile-time Dependency Injection for Go
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- devel
- Package size
- 1586.4 KiB, 4620.0 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 |
|---|---|---|
| DragonFly | devel/go-wire | 0.6.0_5 |
| FreeBSD | devel/go-wire | 1.3.0_1 |
| HardenedBSD | devel/go-wire | 1.2.0_6 |
| GhostBSD | devel/go-wire | 1.2.0_6 |
Install
Binary package:
pkg install go-wire
From DPorts:
cd /usr/dports/devel/go-wire && make install clean
Dependencies
No port depends on this one.