(m map[K]V)
| 561 | } |
| 562 | |
| 563 | func GetMapKeys[K comparable, V any](m map[K]V) []K { |
| 564 | var rtn []K |
| 565 | for key := range m { |
| 566 | rtn = append(rtn, key) |
| 567 | } |
| 568 | return rtn |
| 569 | } |
| 570 | |
| 571 | // combines string arrays and removes duplicates (returns a new array) |
| 572 | func CombineStrArrays(sarr1 []string, sarr2 []string) []string { |
no outgoing calls
no test coverage detected