hashicorp / go-set

The go-set package provides generic Set implementations for Go, including HashSet for types with a Hash() function and TreeSet for orderable data
Mozilla Public License 2.0
118 stars 8 forks source link

v3: eleminate GoType and Compare types #92

Closed shoenig closed 2 months ago

shoenig commented 2 months ago

The standard library now has cmp.Ordered and cmp.Compare which are basically the same things. Replace our custom types with the standard library types.

https://pkg.go.dev/cmp

Closes #89