BSD Ports

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

SystemPortVersion
DragonFlydevel/go-wire0.6.0_5
FreeBSDdevel/go-wire1.3.0_1
HardenedBSDdevel/go-wire1.2.0_6
GhostBSDdevel/go-wire1.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.