protobuf-go/internal
Joe Tsai 2e7817f117 compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation
In order to migrate v1 to wrap v2, we need a way to reproduce
the awful enum "names" that v1 used, which was the concatenation of
the proto package with the Go identifier used for the enum.

To support this:
* Move the camel case logic from compiler/protogen to internal/strs
* Add a small stub in internal/impl to expose this functionality

Change-Id: I8ff31daa9ae541e5788dc04d2e89eae1574877e4
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/191637
Reviewed-by: Damien Neil <dneil@google.com>
2019-08-26 17:49:17 +00:00
..
cmd reflect/protoreflect: add non-allocating Value constructors 2019-08-26 17:48:05 +00:00
conformance internal/conformance: change test package name to conformance_test 2019-08-20 22:30:23 +00:00
descfmt reflect/protoreflect: add FileDescriptor.SourceLocations 2019-07-13 00:15:59 +00:00
descopts internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
detrand internal/detrand: support disabling detrand 2018-11-29 07:49:45 +00:00
encoding all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
errors all: remove non-fatal UTF-8 validation errors (and non-fatal in general) 2019-06-20 20:55:13 +00:00
fieldnum internal/fieldnum: generate field numbers for the google.protobuf package 2019-03-21 00:57:40 +00:00
filedesc internal/filedesc, internal/filetype: rename {Desc,Type}Builder as Builder 2019-08-05 23:43:37 +00:00
filetype all: unify protoV1.ExtensionDesc and proto.ExtensionType 2019-08-20 21:32:57 +00:00
flags all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
impl compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
mapsort all: refactor Converter 2019-08-05 22:33:14 +00:00
pragma
set internal/set: remove Int32s, Int64s, and Strings 2019-04-03 22:53:35 +00:00
strs compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
testprotos all: rely on message_set_extension name mangling in ExtensionDescV1 2019-08-21 02:47:33 +00:00