jar3b@outlook.com 0b9114e50c feat: WIP
2021-09-23 02:42:00 +03:00

14 lines
270 B
Go

package nats_transport
// copy the values into protocol buffer
// struct
func copyMap(values map[string][]string) map[string]*Values {
headerMap := make(map[string]*Values, 0)
for k, v := range values {
headerMap[k] = &Values{
Arr: v,
}
}
return headerMap
}