{"adoption": {"forks": 414, "observed_at": "2026-08-28T04:09:45.283282+00:00", "stars": 6567}, "canonical_url": "https://ross.abutalabs.com/products/go-sqlmock", "card": {"archived": false, "artifact_type": "library", "description": "Sql mock driver for golang to test database interactions", "domain": ["testing", "databases", "developer-tools"], "enriched": true, "function": ["mocking", "testing", "database-driver"], "health_score": 79, "homepage": null, "language": "Go", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["DATA-DOG/go-sqlmock"], "name": "DATA-DOG/go-sqlmock", "platform": ["go", "cli"], "pushed_at": "2026-07-10T06:12:55+00:00", "repo": "DATA-DOG/go-sqlmock", "stars": 6567, "tags": ["sql", "tdd", "unit-testing", "database-mocking", "sql-driver"], "topics": ["sql-driver", "go", "mock", "database", "tdd", "testing", "golang", "sql"], "urls": [], "use_cases": ["unit test database interactions in Go without a real database", "mock SQL driver behavior in tests", "test database transactions and rollbacks", "verify SQL query expectations in TDD workflow", "test code that uses database/sql with any driver"], "what_it_is": "go-sqlmock is a mock library implementing Go's sql/driver interface to simulate SQL driver behavior in tests without a real database connection. It supports expectation-based matching, concurrency, context features, and named parameters, enabling TDD workflows for database interactions.", "when_to_avoid": ["you need functional/integration testing against a real database", "you want a library that is actively developed with new features", "you prefer higher-level mocking like sqlmock alternatives with query builders"], "when_to_choose": ["you want fast, dependency-free unit tests for Go database code", "you follow TDD and need strict expectation ordering for SQL calls", "you need to mock context or named parameter features of database/sql"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/go-sqlmock", "repo": "DATA-DOG/go-sqlmock", "role": "main", "score": 64}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "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:09:45.283282+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.283282+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:43:39.923724+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74382e860f42d8d67f27a2b0c12f9c088f91d0b0dacabda467a914be5a8a6eef", "fetched_at": "2026-08-28T04:09:45.283282+00:00", "kind": "readme", "missing": false, "url": "https://github.com/DATA-DOG/go-sqlmock"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4590, "days_push": 54, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 64, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}