TokenToSeaSkills Hub
中文 Console

Golang Dependency Injection

samber

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

Install

npx skills add samber/cc-skills-golang --skill golang-dependency-injection