(strs1 []string, strs2 []string)
| 147 | } |
| 148 | |
| 149 | func StrSliceElementsMatch(strs1 []string, strs2 []string) bool { |
| 150 | if len(strs1) == 0 && len(strs2) == 0 { |
| 151 | return true |
| 152 | } |
| 153 | if len(strs1) != len(strs2) { |
| 154 | return false |
| 155 | } |
| 156 | return StrSlicesEqual(SortStrsCopy(strs1), SortStrsCopy(strs2)) |
| 157 | } |
| 158 | |
| 159 | func StrSlicesEqual(strs1 []string, strs2 []string) bool { |
| 160 | if len(strs1) == 0 && len(strs2) == 0 { |