protobuf-go/internal/impl
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
..
api_export.go internal/impl: clean up obsolete ExtensionInfo fields/funcs 2019-08-20 22:03:04 +00:00
codec_extension.go all: refactor extensions, add proto.GetExtension etc. 2019-08-08 18:20:51 +00:00
codec_field.go internal/impl: treat a nil oneof wrapper as if it were unset 2019-08-16 00:24:53 +00:00
codec_gen.go proto, internal/impl: zero-length proto2 bytes fields should be non-nil 2019-08-05 21:44:30 +00:00
codec_map_go111.go
codec_map_go112.go
codec_map.go all: remove dead code 2019-08-06 21:16:48 +00:00
codec_message.go internal/impl: refactor MessageInfo 2019-08-15 22:26:40 +00:00
codec_messageset.go all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
codec_reflect.go
codec_tables.go all: support enforce_utf8 override 2019-07-15 19:53:05 +00:00
codec_unsafe.go
convert_list.go all: make handling of zero-value composites more consistent 2019-08-08 18:20:25 +00:00
convert_map.go all: make handling of zero-value composites more consistent 2019-08-08 18:20:25 +00:00
convert.go reflect/protoreflect: add non-allocating Value constructors 2019-08-26 17:48:05 +00:00
decode.go all: drop reflect/prototype package 2019-08-09 19:06:30 +00:00
encode.go runtime/protoiface: API adjustments 2019-07-12 23:12:26 +00:00
extension.go internal/impl: clean up obsolete ExtensionInfo fields/funcs 2019-08-20 22:03:04 +00:00
isinit.go all: drop reflect/prototype package 2019-08-09 19:06:30 +00:00
legacy_aberrant_test.go
legacy_enum.go compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
legacy_export_test.go
legacy_export.go compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
legacy_extension.go compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
legacy_file_test.go
legacy_file.go internal/filedesc, internal/filetype: rename {Desc,Type}Builder as Builder 2019-08-05 23:43:37 +00:00
legacy_message.go all: drop reflect/prototype package 2019-08-09 19:06:30 +00:00
legacy_test.go all: unify protoV1.ExtensionDesc and proto.ExtensionType 2019-08-20 21:32:57 +00:00
message_reflect_field.go internal/impl: treat a nil oneof wrapper as if it were unset 2019-08-16 00:24:53 +00:00
message_reflect_gen.go all: drop reflect/prototype package 2019-08-09 19:06:30 +00:00
message_reflect_test.go internal/impl: refactor MessageInfo 2019-08-15 22:26:40 +00:00
message_reflect.go internal/impl: refactor MessageInfo 2019-08-15 22:26:40 +00:00
message.go internal/impl: refactor MessageInfo 2019-08-15 22:26:40 +00:00
pointer_reflect.go all: drop reflect/prototype package 2019-08-09 19:06:30 +00:00
pointer_unsafe.go internal/impl: fix race over messageState.mi 2019-08-05 21:22:56 +00:00