protobuf-go/encoding/protojson
Joe Tsai 1799d1111a all: rename tag and flags for legacy support
Rename build tag "proto1_legacy" -> "protolegacy"
to be consistent with the "protoreflect" tag.

Rename flag constant "Proto1Legacy" -> "ProtoLegacy" since
it covers more than simply proto1 legacy features.
For example, it covers alpha-features of proto3 that
were eventually removed from the final proto3 release.

Change-Id: I0f4fcbadd4b5a61c87645e2e5be11d187e59157c
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/189345
Reviewed-by: Damien Neil <dneil@google.com>
2019-08-08 20:49:00 +00:00
..
bench_test.go types: consistently name generated protos 2019-05-16 21:55:40 +00:00
decode_test.go all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
decode.go all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
doc.go protogen, encoding/jsonpb, encoding/textpb: rename packages 2019-05-14 20:33:22 +00:00
encode_test.go all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
encode.go all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
well_known_types.go all: refactor extensions, add proto.GetExtension etc. 2019-08-08 18:20:51 +00:00