golang-dependency-injection
IndexedComprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupling, separation of concerns, lifecycle management), manual constructor injection, and DI library comparison (google/wire, uber-go/dig, uber-go/fx, samber/do). Use this skill when designing service architecture, setting up dependency injection, refactoring tightly coupled code, managing singletons or service factories, or when the user asks about inversion of control, service containers, or wiring dependencies in Go. For a specific DI library, → See `samber/cc-skills-golang@golang-google-wire`, `samber/cc-skills-golang@golang-uber-dig`, `samber/cc-skills-golang@golang-uber-fx`, or `samber/cc-skills-golang@golang-samber-do` skills.
Install
$ npx skills add https://github.com/samber/cc-skills-golang --skill golang-dependency-injection
The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.
Scan
- Broad tool accessSKILL.md, line 17 · Lowallowed-tools: WebFetch lets Claude fetch any URL without asking.
Copies
No other indexed repository has this exact folder.