mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-06 00:55:51 +00:00
f8b855d768
The following adjustments were made: * The pragma.NoUnkeyedLiterals is moved to be the first field. This is done to keep the options struct smaller. Even if the last field is zero-length, Go GC implementation details forces the struct to be padded at the end. * Methods are documented as always treating AllowPartial as true. * Added a support flag for UnmarshalOptions.DiscardUnknown. Change-Id: I1f75d226542ab2bb0123d9cea143c7060df226d8 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185998 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
legacy.go | ||
methods.go |