protobuf-go/internal/impl
Joe Tsai 531a03af35 internal/impl: preserve nil in ProtoMessageVXOf
ProtoMessageV1(nil) now returns nil.
ProtoMessageV2(nil) now returns nil.

Note that the following continue to panic:
	MessageOf(nil)
	MessageDescriptorOf(nil)
	MessageTypeOf(nil)
It may be reasonable for them to also return nil in the future.

Change-Id: Icc14857252d844eb6d4dbfe0c248cef22023e930
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/193758
Reviewed-by: Damien Neil <dneil@google.com>
2019-09-09 18:40:39 +00:00
..
api_export.go internal/impl: preserve nil in ProtoMessageVXOf 2019-09-09 18:40:39 +00:00
codec_extension.go internal/impl: clean up Value codecs 2019-09-05 16:31:05 +00:00
codec_field.go internal/impl: store extension values as Values 2019-09-03 20:58:28 +00:00
codec_gen.go internal/impl: clean up Value codecs 2019-09-05 16:31:05 +00:00
codec_map_go111.go
codec_map_go112.go
codec_map.go internal/impl: clean up Value codecs 2019-09-05 16:31:05 +00:00
codec_message.go internal/impl: refactor MessageInfo 2019-08-15 22:26:40 +00:00
codec_messageset.go internal/impl: store extension values as Values 2019-09-03 20:58:28 +00:00
codec_reflect.go internal/impl: store extension values as Values 2019-09-03 20:58:28 +00:00
codec_tables.go all: make error messages unstable 2019-09-07 00:39:30 +00:00
codec_unsafe.go
convert_list.go all: remove NewMessage methods 2019-09-05 17:49:46 +00:00
convert_map.go all: remove NewMessage methods 2019-09-05 17:49:46 +00:00
convert.go internal/impl: unexport Unwrapper 2019-09-05 06:07:39 +00:00
decode.go internal/impl: store extension values as Values 2019-09-03 20:58:28 +00:00
encode.go internal/impl: store extension values as Values 2019-09-03 20:58:28 +00:00
extension_test.go reflect/protoreflect: add ExtensionType IsValid{Interface,Value} methods 2019-09-03 20:58:16 +00:00
extension.go internal/impl: change Go representation of extension lists to []T 2019-09-03 21:19:03 +00:00
isinit.go internal/impl: store extension values as Values 2019-09-03 20:58:28 +00:00
legacy_aberrant_test.go
legacy_enum.go internal/impl: unexport Unwrapper 2019-09-05 06:07:39 +00:00
legacy_export_test.go
legacy_export.go internal/impl: support legacy message names 2019-09-05 17:56:38 +00:00
legacy_extension.go internal/impl: unexport Unwrapper 2019-09-05 06:07:39 +00:00
legacy_file_test.go
legacy_file.go
legacy_message.go internal/impl: support legacy message names 2019-09-05 17:56:38 +00:00
legacy_test.go internal/impl: support legacy message names 2019-09-05 17:56:38 +00:00
message_reflect_field.go internal/impl: unexport Unwrapper 2019-09-05 06:07:39 +00:00
message_reflect_gen.go all: remove NewMessage methods 2019-09-05 17:49:46 +00:00
message_reflect_test.go all: remove use of deprecated NewMessage 2019-09-04 17:55:31 +00:00
message_reflect.go all: make error messages unstable 2019-09-07 00:39:30 +00:00
message.go internal/impl: refactor MessageInfo 2019-08-15 22:26:40 +00:00
pointer_reflect.go
pointer_unsafe.go