protobuf-go/protogen
Damien Neil 3863ee56b5 protogen: camel-case "Foo.bar" as "FooBar" instead of "Foo_Bar".
Given:

  message Parent {
    message Child1 {}
    message child2 {}
  }

Historic behavior is to generate child messages named:

  Parent_Child1
  ParentChild2

Avoid adding an _ in the latter case.

Change-Id: I49a6732655d64967b8c7bb7ad358ae54d294f7b4
Reviewed-on: https://go-review.googlesource.com/c/140898
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-10-16 16:18:01 +00:00
..
testdata/go_package protogen, cmd/protoc-gen-go: initial commit 2018-08-22 17:08:04 +00:00
names_test.go protogen: camel-case "Foo.bar" as "FooBar" instead of "Foo_Bar". 2018-10-16 16:18:01 +00:00
names.go protogen: camel-case "Foo.bar" as "FooBar" instead of "Foo_Bar". 2018-10-16 16:18:01 +00:00
protogen_test.go protogen: conflict resolve local package names against predefined idents 2018-10-05 19:58:09 +00:00
protogen.go protogen: avoid an obscure package name consistency check failure 2018-10-16 16:04:50 +00:00