Giverny

Golang Uber Dig

Implements dependency injection in Golang using uber-go/dig — reflection-based container, Provide/Invoke, dig.In/dig.Out parameter and result objects, named values, value groups…

by samber★ 4,015Languages

What Golang Uber Dig does

Implements dependency injection in Golang using uber-go/dig — reflection-based container, Provide/Invoke, dig.In/dig.Out parameter and result objects, named values, value groups, optional dependencies, scopes, and Decorate. Apply when using or adopting uber-go/dig, when the codebase imports `go.uber.org/dig`, or when wiring an application graph at startup. For higher-level lifecycle and modules, see `samber/cc-skills-golang@golang-uber-fx` skill.

How to install Golang Uber Dig in Claude Code

Giverny gives you a ready prompt with the exact install command from samber/cc-skills-golang. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone samber/cc-skills-golang and copy the skills/golang-uber-dig folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Golang Uber Dig on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the golang-uber-dig skill on my current project.”

More Claude skills for languages