protobuf-go/internal
Joe Tsai f8b855d768 runtime/protoiface: API adjustments
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>
2019-07-12 23:12:26 +00:00
..
cmd runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
descfmt reflect/protoreflect: remove FieldDescriptor.{Oneof,Extendee} methods 2019-06-17 19:43:30 +00:00
descopts internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
detrand
encoding encoding: use strs.UnsafeString to avoid duplicated code 2019-07-10 07:01:20 +00:00
errors all: remove non-fatal UTF-8 validation errors (and non-fatal in general) 2019-06-20 20:55:13 +00:00
fieldnum
filedesc proto: move T->*T wrappers from internal/scalar to proto 2019-07-12 17:35:01 +00:00
filetype reflect/protoregistry: remove Files.Find{Enum,Message,Extension,Service}ByName 2019-06-24 23:47:12 +00:00
flags
impl runtime/protoiface: API adjustments 2019-07-12 23:12:26 +00:00
mapsort
pragma
set
strs internal/strs: unify string manipulation functionality 2019-07-09 19:57:23 +00:00
testprotos runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
value reflect/protoreflect: add alternative message reflection API 2019-06-17 17:33:24 +00:00