1
// That this code needs to exist is kind of dumb, but I'm not sure how else to
5
type StringSet map[string]bool
7
func (ss StringSet) IsSubset(oss StringSet) bool {
8
for k, _ := range map[string]bool(ss) {
9
if _, ok := map[string]bool(oss)[k]; !ok {
17
func NewStringSet(strings []string) StringSet {
18
ret := map[string]bool{}
19
for _, s := range strings {