FreeBSD.software
Home/devel/go-wire

go-wire

0.6.0_18devel

Compile-time Dependency Injection for Go

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.

$pkg install go-wire
github.com/google/wire
Origin
devel/go-wire
Size
5.23MiB
License
APACHE20
Maintainer
drtr0jan@yandex.ru
Dependencies
0 packages
Required by
0 packages