From: Jes Cok Date: Fri, 21 Nov 2025 15:59:20 +0000 (+0000) Subject: cmd/go/internal/auth: fix typo X-Git-Tag: go1.26rc1~144 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f1e376f342af82d6f5bdba23cdc5c35b5bfd9064;p=gostls13.git cmd/go/internal/auth: fix typo Change-Id: Ic113d59144aa2d37c8988559fbc086f5c29c0b69 GitHub-Last-Rev: e2623be0a00464d9be845da53fb1a67520fc1716 GitHub-Pull-Request: golang/go#76397 Reviewed-on: https://go-review.googlesource.com/c/go/+/722861 Reviewed-by: Michael Matloob Reviewed-by: Cherry Mui Reviewed-by: Michael Matloob LUCI-TryBot-Result: Go LUCI --- diff --git a/src/cmd/go/internal/auth/userauth.go b/src/cmd/go/internal/auth/userauth.go index 2649a9c271..44c0b3cff0 100644 --- a/src/cmd/go/internal/auth/userauth.go +++ b/src/cmd/go/internal/auth/userauth.go @@ -48,7 +48,7 @@ func runAuthCommand(command string, url string, res *http.Response) (map[string] // parseUserAuth parses the output from a GOAUTH command and // returns a mapping of prefix → http.Header without the leading "https://" // or an error if the data does not follow the expected format. -// Returns an nil error and an empty map if the data is empty. +// Returns a nil error and an empty map if the data is empty. // See the expected format in 'go help goauth'. func parseUserAuth(data string) (map[string]http.Header, error) { credentials := make(map[string]http.Header)