Golang Google Wire

Compile-time dependency injection in Golang using google/wire — wire.NewSet, wire.Build, wire.Bind (interface→concrete), wire.Struct, wire.Value, wire.InterfaceValue, wire.FieldsOf, cleanup functions, //go:build wireinject injector files, and generated wire_gen.go. Apply when using or adopting google/wire, when the codebase imports `github.com/google/wire`, or when wiring an application graph at compile time via `wire.Build`. For runtime DI with reflection, see `samber/cc-skills-golang@golang-uber-dig` skill.

om-scogo 5afdaa7 4 files · 32.4 KB Updated 0 repo stars

File contents

om-scogo/skillsh-scraper/tree/main/data/skills/samber-cc-skills-golang/golang-google-wire commit 5afdaa7d68

Frequently asked questions

npx skillmds add om-scogo/golang-google-wire