mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-26 21:24:22 +00:00
b36f8e04bd
Add support for additional primitive types such as int8, int16, uint8, uint16, and the json.Number type in the conversion logic of the NewValue function. This change ensures that the generated code can handle a wider range of Go types when converting them to protobuf Value types, improving compatibility with JSON data formats. fixes golang/protobuf#1463 Change-Id: I6ea7b8f644f6c3dbe5e6c17e744be40c56846328 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/601775 Reviewed-by: Michael Stapelberg <stapelberg@google.com> Reviewed-by: Lasse Folger <lassefolger@google.com> Reviewed-by: Funda Secgin <fundasecgin32@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> |
||
---|---|---|
.. | ||
internal_gengo | ||
testdata | ||
annotation_test.go | ||
main.go | ||
retention_test.go |