Documentation
¶
Overview ¶
Package cmp provides common operators on a number of scalar types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Key ¶
type Key interface { // Key writes a serialization of the object's identity to the given // strings.Builder. This serialization should be optimized for machine // consumption. However, it should also be human-readable to make debugging // and unit testing easier. Key(*strings.Builder) }
The Key interface is satisfied by any object whose identity can be serialized into a string.