📜  union in - Go 编程语言 - Go 编程语言代码示例
📅  最后修改于: 2022-03-11 14:45:02.588000             🧑  作者: Mango
代码示例1
s_union := map[int]bool{}
for k, _ := range s1{
s_union[k] = true
}
for k, _ := range s2{
s_union[k] = true
}