Documentation ¶
Overview ¶
Package pb provides utilities for working with protobuf messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Compare = cmp.FilterValues( func(x, y interface{}) bool { _, xok := x.(proto.Message) _, yok := y.(proto.Message) return xok && yok }, cmp.Comparer(func(x, y interface{}) bool { vx, ok := x.(proto.Message) if !ok { return false } vy, ok := y.(proto.Message) if !ok { return false } return proto.Equal(vx, vy) }), )
Compare compares two proto messages.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.