protobuf-go/internal
Joe Tsai 8e9d5f6e8a internal/protolegacy: add stub v1 proto package for testing purposes
The protolegacy package is a minimal version of the v1 proto package.
This allows us to use this stub version as the dependency for
internal/testprotos/legacy packages and avoid a dependency
on the real v1 proto package.

The implementation of most v1 functionality will panic if called.
This way, we know if we the v2 code depends on one of those
unimplemented functions.

Updates golang/protobuf#962

Change-Id: I20b4091706fd456e4b01ae0931cce30a872639b0
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/199297
Reviewed-by: Damien Neil <dneil@google.com>
2019-10-05 23:12:32 +00:00
..
cmd internal/impl: optimize reflect methods 2019-09-19 17:45:34 +00:00
conformance encoding/prototext: add MarshalOptions.EmitUnknown 2019-09-17 02:56:29 +00:00
descfmt internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
descopts internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
detrand internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
encoding all: use typed variant of protoreflect.ValueOf 2019-09-17 21:33:16 +00:00
errors internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
fieldnum
filedesc all: use typed variant of protoreflect.ValueOf 2019-09-17 21:33:16 +00:00
filetype internal/impl: move filetype.EnumInfo to impl 2019-09-16 22:07:05 +00:00
flags all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
impl internal/impl: use current proto package, not old one 2019-10-04 17:42:11 +00:00
mapsort internal/mapsort: use explicit kind for strings 2019-09-05 22:07:15 +00:00
pragma
protolegacy internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
set
strs compiler/protogen, internal/strs, internal/impl: expose enum Go name derivation 2019-08-26 17:49:17 +00:00
testprotos internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00