TokenToSeaSkill 广场
English 控制台

Go Dependency Injection

Eduardo Spinelli de Lima

Dependency injection in Go: constructor injection, wiring in main, avoiding global state, and when frameworks (wire, fx, dig) earn their complexity. Use when: "dependency injection", "wire up dependencies", "inject this", "remove global state", "singleton in Go", "use google/wire", "uber fx", "make this testable".

安装

npx skills add eduardo-sl/go-agent-skills --skill go-dependency-injection