/golang-set

A simple set type for the Go language. Also used by Docker, 1Password, Ethereum.

Primary LanguageGoOtherNOASSERTION

A fork of golang-set

AND

  • a Scan(destinationSlice) method to populate data to a slice.
  • a NewSetWithSlice(slice) method to init a new Set using a typed slice like []int or []string