# Packages
No description provided by the author
Package testmarshal provides some assertions around marshalling/unmarshalling (serialization/deserialization) behavior for types.
# Functions
BytesArray converts a variable length string arguments (array of strings) into an array of byte arrays.
ByteSlicesBackedBySameData returns a bool indicating if the raw backing bytes under the []byte slice point to the same memory.
CmpMatcher returns a new matcher backed by go-cmp/cmp.Equal.
ConvertToTestExtendedOptions is ExtendedOptsConverter for testExtendedOptions.
Diff is a helper method to print a terminal pretty diff of two strings for test output purposes.
MustPrettyJSONArray returns an indented JSON string of the object.
MustPrettyJSONMap returns an indented JSON string of the object.
MustPrettyJSONString returns an indented version of the JSON.
NewController provides a gomock.Controller wrapped with a xtest.Reporter, which gives more useful error modes on unexpected mock calls.
NewCorruptingFile creates a new corrupting file.
NewLogger returns a new test logger.
NewTestExtendedOptionsJSON returns a json Map for testExtendedOptions.
NewTestExtendedOptionsProto construct a new protobuf ExtendedOptions message.
# Constants
TypeURLPrefix is a type URL prefix for storing in protobuf Any messages.
# Variables
IdentTransformer transforms any ident.ID into ident.BytesID to make it easier for comparison.