prototest

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package prototest contains utilities for testing protocol buffer messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(a proto.Message, b proto.Message) (bool, string)

Equal compares two protocol buffer messages. If the messages are equal, the returned boolean will be true and the returned string will not be meaningful. If they are not equal, the returned boolean will be false and the returned string will contain a human-readable report of the differences between the messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL