https://github.com/golang/go/blob/2363897932cfb279dd8810d2c92438f7ddcfd951/src/net/url/url.go#L940-L944

AFAIK this simple change wouldn't break anything, but will allow writing v.Add("myKey", "important value 1", "important value 2"...) and etc.

Comment From: gopherbot

Change https://go.dev/cl/689057 mentions this issue: net/url: make Values.Add accept variadic string

Comment From: seankhliao

this is not a backwards compatible change.

Comment From: gabyhelp

Related Issues

Related Code Changes

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)