protobuf-go/cmd/protoc-gen-go
Damien Neil daa4fad986 cmd/protoc-gen-go: remove spurious . from enums with no package
Enums, for historical reasons, are registered with the proto package
under the name "<proto_package>.<go_type_name>". Don't include the dot
if there is no package statement in the .proto source file.

Change-Id: I6fb57d0803506668f60123a29fa06ae87fec523b
Reviewed-on: https://go-review.googlesource.com/c/140657
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-10-16 16:04:35 +00:00
..
internal_gengo cmd/protoc-gen-go: remove spurious . from enums with no package 2018-10-16 16:04:35 +00:00
testdata cmd/protoc-gen-go: remove spurious . from enums with no package 2018-10-16 16:04:35 +00:00
golden_test.go cmd/protoc-gen-go-grpc: add gRPC code generator 2018-09-27 19:32:34 +00:00
main.go protogen: add an option to rewrite import paths 2018-09-28 21:19:59 +00:00