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

examples: start on Go doc examples #44

Closed shoenig closed 1 year ago

shoenig commented 1 year ago

This PR sets the groundwork for writing runnable Go doc examples for each method on each of Set, HashSet, and TreeSet. Instructions on writing testable examples can be found in https://go.dev/blog/examples