protobuf-go/cmd/protoc-gen-go
luoyy b36f8e04bd types/known/structpb: add support for more types and json.Number
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>
2024-08-07 16:51:14 +00:00
..
internal_gengo types/known/structpb: add support for more types and json.Number 2024-08-07 16:51:14 +00:00
testdata gofeatures: allow setting legacy_unmarshal_json_enum feature at file level 2024-06-11 06:00:23 +00:00
annotation_test.go all: fix deprecated 2024-04-23 09:50:20 +00:00
main.go proto: fix HasPresence for extensions and missing plugin response 2024-03-26 09:28:59 +00:00
retention_test.go