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

docs: complete Go doc testable examples for HashSet #46

Closed shoenig closed 1 year ago

shoenig commented 1 year ago

https://github.com/hashicorp/go-set/blob/main/examples_hashset_test.go contains a few testable Go doc examples for HashSet. Let's fill in the implementations for the remaining methods.

https://go.dev/blog/examples

shoenig commented 1 year ago

Closed by #61