{"adoption": {"forks": 228, "observed_at": "2026-08-28T04:08:51.421077+00:00", "stars": 4497}, "canonical_url": "https://ross.abutalabs.com/products/dig", "card": {"archived": false, "artifact_type": "library", "description": "A reflection based dependency injection toolkit for Go.", "domain": ["developer-tools", "backend", "apis"], "enriched": true, "function": ["developer-tools", "plugin-system"], "health_score": 46, "homepage": "https://go.uber.org/dig", "language": "Go", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["uber-go/dig"], "name": "uber-go/dig", "platform": ["go", "cross-platform"], "pushed_at": "2025-05-13T20:09:41+00:00", "repo": "uber-go/dig", "stars": 4497, "tags": ["dependency-injection", "reflection", "object-graph", "uber", "service-locator-alternative"], "topics": ["golang", "go", "dependency-injection", "di"], "urls": [], "use_cases": ["wire up dependencies in a Go application", "resolve an object graph at startup", "build an application framework on top of DI", "manage constructor dependencies in Go services", "avoid manual dependency wiring in large Go codebases"], "what_it_is": "dig is a reflection-based dependency injection toolkit for Go that resolves object graphs at process startup. It is designed to power application frameworks like Uber's Fx rather than serve as a runtime service locator.", "when_to_avoid": ["you need to resolve dependencies after the process has started", "you want a full application framework rather than a DI toolkit", "you plan to expose the container to user-land code as a service locator"], "when_to_choose": ["you need startup-time dependency injection in Go", "you're building or using an application framework like Fx", "you want a stable, SemVer-guaranteed v1 library"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/dig", "repo": "uber-go/dig", "role": "main", "score": 39}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.421077+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:27.016573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a1f2bdb2d65993a0451aa974408c914ce46fd475cd6e8f8ee167524ba3e5c7e", "fetched_at": "2026-08-28T04:08:51.421077+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/dig"}, {"content_hash": "4aad7164c3957df2bb4a5cd88e59a0acbb61e2aac6122a9952b42b1080b5dda0", "fetched_at": "2026-08-29T09:06:31.687969+00:00", "kind": "homepage", "missing": false, "url": "https://go.uber.org/dig"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 21, "longevity": 100, "rhythm": 28}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3452, "days_push": 477, "days_rel": 477, "gap_med": 35.0, "n_releases_24m": 3}, "score": 39, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}