protobuf-go/protogen
Damien Neil c7d07d9ba5 protogen: generate message skeletons
Copy generator.CamelCase for camel-casing names, with one change: Convert
'.' in names to '_'. This removes the need for the CamelCaseSlice function
which operates on a []string representing a name split along '.'s.

Add protogen.Message.

Reformat generated code.

Add regenerate.bash, largely copied from regenerate.sh.

Change-Id: Iecf0bfc43b552f53e458499a328b933b0c9c5f82
Reviewed-on: https://go-review.googlesource.com/130915
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-08-23 22:10:13 +00:00
..
testdata/go_package protogen, cmd/protoc-gen-go: initial commit 2018-08-22 17:08:04 +00:00
names_test.go protogen: generate message skeletons 2018-08-23 22:10:13 +00:00
names.go protogen: generate message skeletons 2018-08-23 22:10:13 +00:00
protogen_test.go protogen, cmd/protoc-gen-go: initial commit 2018-08-22 17:08:04 +00:00
protogen.go protogen: generate message skeletons 2018-08-23 22:10:13 +00:00