Edge Copy setup link
Skill evidence / Golang Dependency Injection

Golang Dependency Injection

Comprehensive guide for dependency injection (DI) in Golang.

samber/cc-skills-golangpinned 19a0626
✓ Security state: reviewed

2 static scans, 0 counted findings.

Recorded for this package revision; Edge checks the exact bundle again when your agent loads it.

SKILL.md6 files · 34.4 KB
From samber’s public repository. Edge did not write or edit this skill.

What this skill does for you

Comprehensive 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.

Quoted from the skill description in the pinned source

Use it with Edge

Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the golang-dependency-injection skill from samber/cc-skills-golang.

Paste it into Claude, ChatGPT, Codex or Cursor.

Or read the skill source first.

Try Golang Dependency Injection in your agent.

Comprehensive guide for dependency injection (DI) in Golang.