chore: don't ignore existing map entry on merge
This commit is contained in:
parent
b5afd2d2ce
commit
bd94c51da4
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ func Copy(q url.Values) url.Values {
|
|||
func Merge(to url.Values, from ...url.Values) {
|
||||
for _, vv := range from {
|
||||
for k, v := range vv {
|
||||
to[k] = append([]string{}, v...)
|
||||
to[k] = append(to[k], v...)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue