(in [][]byte)
| 2200 | } |
| 2201 | |
| 2202 | func cloneByteSlices(in [][]byte) [][]byte { |
| 2203 | if len(in) == 0 { |
| 2204 | return nil |
| 2205 | } |
| 2206 | out := make([][]byte, 0, len(in)) |
| 2207 | for _, item := range in { |
| 2208 | out = append(out, bytes.Clone(item)) |
| 2209 | } |
| 2210 | return out |
| 2211 | } |
| 2212 | |
| 2213 | func cloneValues(in url.Values) url.Values { |
| 2214 | if len(in) == 0 { |
no test coverage detected