Lightlines
By samber

golang-uber-dig

samber33.1k installs

Clear startup wiring for your Go application.

What it does

Guides agents in wiring and testing Go application dependencies with uber-go/dig while keeping the container out of business code.

When to use it

Use when adopting uber-go/dig, working in code that imports go.uber.org/dig, or wiring an application's dependency graph at startup.

How to use it

It changes how the agent wires and validates dependencies in a Go project, keeping the container at startup and injecting typed dependencies into services.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: GitHub

Latest review

What you need · 1

Requires the Go toolchain; no version is specified.


Access · 2

This skill

GitHub

Write

Posts bug reports to GitHub (irreversible)

uber-go/dig documentation

Read

Consults uber-go/dig documentation