Skip to content
G

golang-uber-dig

Implements dependency injection in Golang using uber-go/dig

by samberFree

#3571in AI Skills
0In stores

Description

golang-uber-dig is an agent skill for dependency injection in Go with uber-go/dig. Dig is a reflection-based container that resolves an obje…

Highlights

  • Reflection-based dependency container
  • Provide and Invoke for wiring
  • dig.In and dig.Out parameter and result objects
  • Keeps the container at the composition root

Ratings & Reviews

No ratings yet

Be the first to rate golang-uber-dig.

People also visit

G

golang-google-wire

Compile-time dependency injection in Golang using google/wire

AI Skills
Get
G

golang-samber-do

Dependency injection in Golang using samber/do

AI Skills
Get
G

golang-dependency-injection

Comprehensive guide for dependency injection (DI) in Golang

AI Skills
Get
G

golang-uber-fx

Golang application framework using uber-go/fx

AI Skills
Get
G

golang-how-to

Golang skills orchestrator

AI Skills
Get
G

golang-observability

Golang everyday observability — the always-on signals in production

AI Skills
Get

golang-uber-dig FAQ

What does golang-uber-dig do?

It helps an agent wire a Go application with the uber-go/dig dependency injection container.

How does dig resolve dependencies?

Dig is a reflection-based container. It resolves the object graph during startup, using constructors you provide.

What are dig.In and dig.Out?

Parameter and result objects that let a constructor take or return several named dependencies.

Is dig the same as fx?

No. Fx is an application framework built on dig, and it adds a lifecycle and a module system.

How do I install it?

Run: npx skills add https://github.com/samber/cc-skills-golang --skill golang-uber-dig

What security audits has it passed?

Gen Agent Trust Hub, Socket and Snyk all passed.

What are the best golang-uber-dig alternatives?

Popular alternatives to golang-uber-dig include golang-google-wire, golang-samber-do and golang-dependency-injection. See all golang-uber-dig alternatives

Developer Stuff

Badges