{"adoption": {"forks": 42, "observed_at": "2026-08-28T04:03:19.944988+00:00", "stars": 1039}, "canonical_url": "https://ross.abutalabs.com/products/gopatch", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Refactoring and code transformation tool for Go.", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["developer-tools", "parser", "formatter"], "health_score": 30, "homepage": null, "language": "Go", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["uber-go/gopatch"], "name": "uber-go/gopatch", "platform": ["windows", "cli", "go"], "pushed_at": "2025-02-11T08:36:20+00:00", "repo": "uber-go/gopatch", "stars": 1039, "tags": ["go", "refactoring", "code-transformation", "ast", "patch", "static-analysis", "automation", "linux", "macos"], "topics": ["golang", "refactoring", "go"], "urls": [], "use_cases": ["automate refactoring across a large Go codebase", "replace errors.New(fmt.Sprintf(...)) with fmt.Errorf everywhere", "write custom lint autofixes as patch files", "enforce code style changes in Go projects", "apply syntax-aware bulk code transformations", "codify recurring code migration patterns"], "what_it_is": "gopatch is a command-line tool for matching and transforming Go source code using patch files that understand Go syntax. It operates like the Unix patch tool but performs AST-aware refactoring and restyling rather than plain text substitution.", "when_to_avoid": ["you work in languages other than Go", "you need one-off simple text substitutions that sed handles fine", "you need full IDE-integrated interactive refactoring"], "when_to_choose": ["you need to make repetitive structural changes across many Go files", "you want to encode team style fixes as reusable patch files", "text-based sed/patch is too fragile because you need Go syntax awareness"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/gopatch", "repo": "uber-go/gopatch", "role": "main", "score": 26}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "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:03:19.944988+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.944988+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:03:55.925057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94b35f8d865dcbdea4b1555c5dd28f6c9052569d7bcc1e076790b1a5f572d566", "fetched_at": "2026-08-28T04:03:19.944988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-go/gopatch"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 6, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2102, "days_push": 568, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 26, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}