aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2025-11-21 15:59:20 +0000
committerCherry Mui <cherryyz@google.com>2025-11-24 15:15:19 -0800
commitf1e376f342af82d6f5bdba23cdc5c35b5bfd9064 (patch)
tree921f05e021527f71c5b0f5fd587fcc60f934eee6 /src/cmd
parent7fbd141de506e331ef3f5910b505ece91a012e4a (diff)
downloadgo-f1e376f342af82d6f5bdba23cdc5c35b5bfd9064.tar.xz
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 <matloob@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Matloob <matloob@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/go/internal/auth/userauth.go2
1 files changed, 1 insertions, 1 deletions
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)