{
  "id": "go/sql-unsupported-destination",
  "signature": "sql: Scan error on column index 0: unsupported Scan, storing driver.Value type int64 into type *string",
  "signature_zh": "sql: 第0列扫描错误：不支持的扫描，将driver.Value类型int64存储到*string类型",
  "regex": "sql:\\ Scan\\ error\\ on\\ column\\ index\\ 0:\\ unsupported\\ Scan,\\ storing\\ driver\\.Value\\ type\\ int64\\ into\\ type\\ \\*string",
  "domain": "go",
  "category": "type_error",
  "subcategory": null,
  "root_cause": "数据库列类型与目标变量类型不匹配，如将整数扫描到字符串。",
  "root_cause_type": "generic",
  "root_cause_zh": "数据库列类型与目标变量类型不匹配，如将整数扫描到字符串。",
  "versions": [
    {
      "version": "1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "强制类型转换可能丢失数据。",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "忽略错误导致数据错误。",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "确保目标变量类型与数据库列类型一致，或使用sql.Null类型。",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-06-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}