golang-samber-do
golang samber do
What it does
- pkg.go.dev/github.com/samber/do/v2
- do.samber.dev
- github.com/samber/do/v2
- Lazy (default): Created when first requested
- Eager: Created immediately when the container starts
- Transient: New instance created on every request
- Value: Pre-created value, no instantiation
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
golang-samber-do FAQ
What does the golang-samber-do skill do?
Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor injection into a DI container. pkg.go.dev/github.com/samber/do/v2 do.samber.dev
How do I install golang-samber-do?
Run: npx -y skills add https://github.com/samber/cc-skills-golang --skill golang-samber-do --agent claude-code — the source lives at github.com/samber/cc-skills-golang.
Maintain golang-samber-do?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/samber-cc-skills-golang-golang-samber-do?ref=badge) npx agentictools info skills/samber-cc-skills-golang-golang-samber-do The second line is the CLI lookup for this page — handy in READMEs and docs.