protobuf-go/cmd/protoc-gen-go
Joe Tsai 7390346c05 cmd/protoc-gen-go: invert conditional check for proto syntax
To avoid accidentally emitting the UnmarshalMethod in the unlikely
(but possible) event that a proto4 syntax was added, swich the conditional
to only trigger on the proto2 syntax.

Change-Id: I0c201eace56e9ecc92cd791e45ca5d3b99e2ba86
Reviewed-on: https://go-review.googlesource.com/c/154317
Reviewed-by: Damien Neil <dneil@google.com>
2018-12-17 22:19:10 +00:00
..
internal_gengo cmd/protoc-gen-go: invert conditional check for proto syntax 2018-12-17 22:19:10 +00:00
testdata reflect/prototype: hoist semantic options into builders 2018-12-11 20:25:45 +00:00
golden_test.go reflect/protodesc: split descriptor related functionality from prototype 2018-12-05 00:38:30 +00:00
main.go