)]}'
{
  "commit": "a823945b37dd76caebe4af9b00aa801b7cac4526",
  "tree": "8496e15ea486b16b3735f81004c3ee6f4471bfe3",
  "parents": [
    "77b690bf6c1049022bf199e25da3927a56d0a60d"
  ],
  "author": {
    "name": "Joe Tsai",
    "email": "joetsai@digital-static.net",
    "time": "Mon Feb 25 13:54:08 2019 -0800"
  },
  "committer": {
    "name": "Joe Tsai",
    "email": "joetsai@digital-static.net",
    "time": "Mon Feb 25 16:32:07 2019 -0800"
  },
  "message": "Support AllowUnexportedWithinModule\n\nFor sufficiently large codebases with many struct types defined,\nit is untenable to specify a large list of all types in the repository\nthat AllowUnexported permits visibility for.\n\nIn Go, we observe that code with a shared owner often lives in the same\nrepository, and all sub-packages within a repository often share a common\npackage path prefix. Thus, permit expressing visibility allowances in terms\nof package path prefixes instead of individual types.\n\nWhile not explicitly documented, this feature allows the universal comparing\nof unexported fields on all types:\n\tcmp.Equal(x, y, cmp.AllowUnexportedWithinModule(\"\"))\n\nThis \"feature\" is intentionally undocumented (but a natural side-effect of the\nexpressed behavior of PackagePrefix) since it considered to be bad practice.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a7bcaabd3d59bca8442ced7b0b48cf71721c4916",
      "old_mode": 33188,
      "old_path": "cmp/compare.go",
      "new_id": "cd4fc3c8b50fa8e115ded03d814ac5bc9dc7161f",
      "new_mode": 33188,
      "new_path": "cmp/compare.go"
    },
    {
      "type": "modify",
      "old_id": "c98b0880c1911a4cbfb176f8801962dcf8ef7094",
      "old_mode": 33188,
      "old_path": "cmp/compare_test.go",
      "new_id": "5916e9113ab1dae8e634a6d538ec2a878da23787",
      "new_mode": 33188,
      "new_path": "cmp/compare_test.go"
    },
    {
      "type": "modify",
      "old_id": "a9306b4ca5a6a6fb121272d042e7b8edb99dab42",
      "old_mode": 33188,
      "old_path": "cmp/options.go",
      "new_id": "552cd44d9c54e6258145edc81fb58b89ab6d2ddd",
      "new_mode": 33188,
      "new_path": "cmp/options.go"
    },
    {
      "type": "modify",
      "old_id": "f5d2b4a55e48d8a44a552234fdc1192e09f1c068",
      "old_mode": 33188,
      "old_path": "cmp/options_test.go",
      "new_id": "706408629a3d711366bd469bc0b1e150d428a4f4",
      "new_mode": 33188,
      "new_path": "cmp/options_test.go"
    }
  ]
}
