Go Identity Equality Comparability
Jump to navigation
Jump to search
Internal
The Go notion of comparability implies that the equality operators ==
and !=
must return the correct values when used.
The instances of a type can be map keys as long as the type has an equality operator. More here: Go_Maps#Overview