From: Ian Lance Taylor Date: Fri, 9 May 2014 22:49:21 +0000 (-0700) Subject: net/url: correct documentation of Values.Add X-Git-Tag: go1.3beta2~109 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e3eee85b0d4010be0a1a24fb6a423945c156fb3d;p=gostls13.git net/url: correct documentation of Values.Add Fixes #7816. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/98160043 --- diff --git a/src/pkg/net/url/url.go b/src/pkg/net/url/url.go index 3b3787202b..75f650a275 100644 --- a/src/pkg/net/url/url.go +++ b/src/pkg/net/url/url.go @@ -502,7 +502,7 @@ func (v Values) Set(key, value string) { v[key] = []string{value} } -// Add adds the key to value. It appends to any existing +// Add adds the value to key. It appends to any existing // values associated with key. func (v Values) Add(key, value string) { v[key] = append(v[key], value)