github.com/gozeloglu/set (go): Package set is a set package provides set data structure for Go. It is written without any dependency.  You can call the Union() method for creating a new Set which contains the all items from the set1 and set2. It concatenates two sets and creates a new one.  In order to take intersection of the sets, you can call the Intersection() method.  You can find the difference between sets by Difference() method.  You can check the set which is subset of the another set with IsSubset() method.  You can check the set which is superset of the another set with IsSuperset() method.  You can check whether the sets are equal with the Equal() method.  You can check whether the sets are disjoint with IsDisjoint() method.  You can get the symmetric difference of two sets by SymmetricDifference() method.
Keywords: data-structure|go|golang|hash|hash-se|set|thread-safe|thread-safety