Glossary: Go Beyond the Basics
comparable
A constraint for types that work with `==`. Map keys must be comparable, so `Set[T comparable]` can use `T` as a map key.
Glossary: Go Beyond the Basics
A constraint for types that work with `==`. Map keys must be comparable, so `Set[T comparable]` can use `T` as a map key.