protobuf-go/internal
Joe Tsai 69839c78c3 internal/genid: remove WhichFile
It seems safer to explicitly mention exactly which messages
have special handling, rather than special casing the .profile
that they live in. This is safer because there is no guarantee
that new messages won't be added to each of these files.

The protojson implementation is modified to no longer rely
on a isCustomType helper and instead return a marshal or unmarshal
function pointer that is non-nil if specialized serialization
exists for that message type.

Change-Id: I5e3551d66f5a4b9024e583b627c0292cb7da6803
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/235657
Reviewed-by: Herbie Ong <herbie@google.com>
2020-05-29 21:03:06 +00:00
..
benchmarks all: upgrade protobuf to v3.11.4 2020-03-13 19:49:20 +00:00
cmd internal/genid: add new package for generated identifiers 2020-05-29 07:08:23 +00:00
conformance all: regenerate remote .proto files 2020-03-18 20:17:11 +00:00
descfmt all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
descopts
detrand
encoding all: fix golint violations 2020-03-21 00:04:20 +00:00
errors all: scrub all TODOs 2020-02-10 19:28:48 +00:00
fieldsort all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
filedesc internal/genid: add new package for generated identifiers 2020-05-29 07:08:23 +00:00
filetype
flags all: fix golint violations 2020-03-21 00:04:20 +00:00
fuzz internal/fuzz/wirefuzz: add test to verify initialization checks 2020-05-01 18:43:38 +00:00
fuzztest internal/fuzztest: set cap to len on test byte slice 2020-02-05 22:46:04 +00:00
genid internal/genid: remove WhichFile 2020-05-29 21:03:06 +00:00
impl internal/genid: add new package for generated identifiers 2020-05-29 07:08:23 +00:00
mapsort
msgfmt internal/genid: remove WhichFile 2020-05-29 21:03:06 +00:00
pragma all: add a test for copyright headers 2020-02-21 18:41:46 +00:00
protobuild all: trivial formatting changes 2020-02-25 21:59:54 +00:00
protolegacy all: add a test for copyright headers 2020-02-21 18:41:46 +00:00
set
strs
testprotos all: move well-known types 2020-05-26 19:51:55 +00:00
version all: start v1.24.0-devel 2020-05-26 22:26:00 +00:00
weakdeps all: add weak dependency on google.golang.org/genproto module 2020-05-26 22:06:12 +00:00