Golang HashSet(actually HashMap)
golang why don\'t we have a set datastructure\ngo\nfunc findDifference(nums1 []int, nums2 []int) [][]int {\n    s1,s2:=make(map[int]bool),make(map[int]bool)\n  
[golang why don\'t we have a set datastructure](https://stackoverflow.com/questions/34018908/golang-why-dont-we-have-a-set-datastructure)\n```go\nfunc findDifference(nums1 []int, nums2 []int) [][]int {\n    s1,s2:=make(map[int]bool),make(map[int]bool)\n    for _,n:=range(nums1){\n        s1[n]=true\n    }\n    for _,n:=range(nums2){\n        s2[n]=true\n    }\n    res:=make([][]int,2)\n    for k,_:=range s1{\n        if _,ok:=s2[k];!ok{\n            res[0]=append(res[0],k)\n        }\n    }\n    for k,_:=range s2{\n        if _,ok:=s1[k];!ok{\n            res[1]=append(res[1],k)\n        }\n    }\n    return res\n}\n```
['Go']