I need to use strings.Join(invoicesBatch, ",")
to join a string array. But the array I got from the map using reflect.ValueOf(invoiceList).MapKeys()
is reflect.Value
array. Is there a easy way to convert them into a string array.
The map was initialized with string key.