{
  "id": "go/invalid-go-mod",
  "signature": "go: /path/go.mod: invalid module name: \"example.com/\" (trailing slash)",
  "signature_zh": "go: /path/go.mod: 无效的模块名：\"example.com/\"（尾部斜杠）",
  "regex": "go:\\ /path/go\\.mod:\\ invalid\\ module\\ name:\\ \"example\\.com/\"\\ \\(trailing\\ slash\\)",
  "domain": "go",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The module directive in go.mod contains invalid characters or formatting errors, such as trailing slash.",
  "root_cause_type": "generic",
  "root_cause_zh": "go.mod文件中的module指令包含无效字符或格式错误，如尾部斜杠。",
  "versions": [
    {
      "version": "1.18",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.19",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "删除go.mod文件",
      "why_fails": "删除go.mod会导致模块系统失效，无法构建。",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "复制其他项目的go.mod",
      "why_fails": "模块名不匹配，会导致导入路径错误。",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "修正go.mod中的module名",
      "success_rate": 0.9,
      "how": "module example.com/myproject\n# 移除尾部斜杠或非法字符",
      "condition": "",
      "sources": []
    },
    {
      "action": "使用go mod init重新初始化",
      "success_rate": 0.8,
      "how": "rm go.mod && go mod init example.com/myproject",
      "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.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-01-10",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}