protobuf-go/internal
Joe Tsai 613285cf7a internal/impl: refactor makeStructInfo
Simplify the implementation of makeStructInfo by checking the
names of the internal fields in a switch statement.
Also, add "weakFields" as the unexported name for weak fields
in preparation for actually unexporting it.

Change-Id: Ide970a39e9caa5a24bc288ba3e3a0d223a6bfcb6
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/207057
Reviewed-by: Damien Neil <dneil@google.com>
2019-11-13 17:53:39 +00:00
..
cmd internal/impl: optimize reflect methods 2019-09-19 17:45:34 +00:00
conformance encoding/prototext: add MarshalOptions.EmitUnknown 2019-09-17 02:56:29 +00:00
descfmt internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
descopts
detrand internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
encoding proto, internal/impl: store unknown MessageSet items in non-mset format 2019-11-11 19:40:27 +00:00
errors internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
fieldnum
fieldsort proto, internal/impl: make wire output more consistent with v1 2019-11-12 20:59:03 +00:00
filedesc internal/filedesc: move message options to L1 initialization 2019-11-08 00:29:25 +00:00
filetype reflect/protoregistry: add (*Types).Register{Message,Enum,Extension} 2019-10-31 16:23:42 +00:00
flags
fuzz reflect/protoreflect: remove nullability from repeated extension fields 2019-11-05 18:31:30 +00:00
impl internal/impl: refactor makeStructInfo 2019-11-13 17:53:39 +00:00
mapsort internal/mapsort: use explicit kind for strings 2019-09-05 22:07:15 +00:00
pragma
protolegacy reflect/protoregistry: add (*Types).Register{Message,Enum,Extension} 2019-10-31 16:23:42 +00:00
set
strs compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
testprotos proto, internal/impl: make wire output more consistent with v1 2019-11-12 20:59:03 +00:00