{"adoption": {"forks": 604, "observed_at": "2026-08-28T04:10:30.667644+00:00", "stars": 9341}, "canonical_url": "https://ross.abutalabs.com/products/golang-mock", "card": {"archived": true, "artifact_type": "library", "description": "GoMock is a mocking framework for the Go programming language.", "domain": ["testing", "developer-tools", "backend"], "enriched": true, "function": ["testing", "mocking", "cli"], "health_score": 10, "homepage": null, "language": "Go", "license": "Apache-2.0", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["golang/mock"], "name": "golang/mock", "platform": ["go", "cli", "cross-platform"], "pushed_at": "2024-01-08T08:00:38+00:00", "repo": "golang/mock", "stars": 9341, "tags": ["gomock", "mock-generation", "code-generation", "unit-testing", "unmaintained"], "topics": [], "urls": [], "use_cases": ["generate mocks for Go interfaces", "unit test Go code with mocked dependencies", "mock database or API interfaces in Go tests", "set up expectation-based testing in Go", "replace real dependencies with test doubles in Go"], "what_it_is": "GoMock is a mocking framework for Go that generates mock implementations of interfaces via the mockgen code-generation tool. It integrates with Go's built-in testing package, but the repository is no longer maintained in favor of the go.uber.org/mock fork.", "when_to_avoid": ["you are starting a new Go project - use the maintained go.uber.org/mock fork instead", "you need ongoing bug fixes or support for newer Go versions", "you prefer hand-written fakes or a different mocking style"], "when_to_choose": ["you are working on a legacy Go codebase already using gomock", "you need the original gomock API for compatibility with existing generated mocks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/golang-mock", "repo": "golang/mock", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "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:10:30.667644+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:30.667644+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:22:27.892159+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c03d489b578e9eddb0ef00e4b6e603af6d9e23d20f0492166a761551bff1aac0", "fetched_at": "2026-08-28T04:10:30.667644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/golang/mock"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4100, "days_push": 968, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}