protobuf-go/proto
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
..
bench_test.go
decode_gen.go all: remove use of deprecated NewMessage 2019-09-04 17:55:31 +00:00
decode_test.go internal/impl: weak field bugfixes 2019-10-04 17:07:45 +00:00
decode.go proto, internal/impl: implement support for weak fields 2019-09-19 22:41:12 +00:00
doc.go
encode_gen.go all: support enforce_utf8 override 2019-07-15 19:53:05 +00:00
encode_test.go proto: improve slice growth in MarshalAppend 2019-09-28 01:00:09 +00:00
encode.go proto: improve slice growth in MarshalAppend 2019-09-28 01:00:09 +00:00
equal_test.go proto/equal: equate nil 2019-09-23 16:43:47 +00:00
equal.go proto/equal: equate nil 2019-09-23 16:43:47 +00:00
extension_test.go internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
extension.go all: rename ExtensionType Descriptor method to TypeDescriptor (1/2) 2019-08-28 18:34:29 +00:00
isinit_test.go proto, internal/impl: implement support for weak fields 2019-09-19 22:41:12 +00:00
isinit.go
merge_test.go proto: fix self-merging 2019-09-23 16:14:39 +00:00
merge.go proto: fix self-merging 2019-09-23 16:14:39 +00:00
messageset_test.go all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
messageset.go all: rename ExtensionType Descriptor method to TypeDescriptor (1/2) 2019-08-28 18:34:29 +00:00
methods_test.go internal/impl: support non-struct-pointer legacy message types 2019-10-04 16:13:03 +00:00
proto_methods.go proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
proto_reflect.go proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
proto.go all: remove dead code 2019-08-06 21:16:48 +00:00
reset_test.go internal/impl: treat a nil oneof wrapper as if it were unset 2019-08-16 00:24:53 +00:00
reset.go proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
size_gen.go
size.go
weak_test.go internal/impl: weak field bugfixes 2019-10-04 17:07:45 +00:00
wrappers.go