)]}'
{
  "commit": "c69658e23457d4e09bce7adc4920817aac8bb4ce",
  "tree": "71406bdcb0674ce4b4ce11a25c367d3a02ab1f8a",
  "parents": [
    "3ebf7dd8a5331895cd3ffd849d6ebd313c509e0f"
  ],
  "author": {
    "name": "Michael Stapelberg",
    "email": "stapelberg@golang.org",
    "time": "Tue Mar 26 16:31:25 2024 +0100"
  },
  "committer": {
    "name": "Michael Stapelberg",
    "email": "stapelberg@golang.org",
    "time": "Wed Mar 27 09:10:56 2024 +0000"
  },
  "message": "proto: extend Marshal documentation, include an example\n\nThe example has been written so that it can be run, meaning it only uses\npackages that are included in the protobuf module (durationpb specifically).\n\nI included an Output: comment in the example so that pkgsite displays the\nprogram output even without having to run it (but running it is of course\npossible).\n\nI added a brief tip to protoscope, which is often mentioned in the protobuf.dev\ndocs for illustrative purposes, and I think it really makes much clearer to the\nreader how the protobuf wire format looks like and what information survives the\nencoding process (field numbers and their values, but not field names like in\nJSON).\n\nThe struct literal contains only one field so that we don’t need to marshal this\nmessage deterministically for stable wire format, which is not the point of the\nexample and would be distracting.\n\nThe value was chosen such that the wire format hex representation contains at\nleast one byte that is clearly identifiable as hexadecimal, to avoid confusion.\n\nChange-Id: I86103abfd7d5b3f654aca3bfbb452f8ef7e49828\nReviewed-on: https://go-review.googlesource.com/c/protobuf/+/574455\nReviewed-by: Damien Neil \u003cdneil@google.com\u003e\nReviewed-by: Lasse Folger \u003classefolger@google.com\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4fed202f9fc41cc0627f82dc3aded961749c4f66",
      "old_mode": 33188,
      "old_path": "proto/encode.go",
      "new_id": "d8f0dbe406a9f0e628554239a82ab4e02e30e573",
      "new_mode": 33188,
      "new_path": "proto/encode.go"
    },
    {
      "type": "modify",
      "old_id": "0f76004a66193242b37cdff9090d7f69427bf781",
      "old_mode": 33188,
      "old_path": "proto/encode_test.go",
      "new_id": "388c85dbe01690353e281aaab13d7f6ddbe82a61",
      "new_mode": 33188,
      "new_path": "proto/encode_test.go"
    }
  ]
}
