Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> devel >> google-wire
nabia  ] [  aramo  ]
[ 原始碼: golang-github-google-wire  ]

套件: google-wire (0.4.0-3)

Compile-time Dependency Injection for Go (program)

Wire: Automated Initialization in 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.

For an overview, see the introductory blog post https://blog.golang.org/wire

This package contains the wire command-line program.

下載 google-wire

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 1,699.6 kB5343 kB [文件列表]
armhf 1,484.6 kB4706 kB [文件列表]