]> Cypherpunks repositories - gostls13.git/commit
cmd/go: reorder parameters so that context is first
authorIan Alexander <jitsu@google.com>
Fri, 24 Oct 2025 20:41:38 +0000 (16:41 -0400)
committerIan Alexander <jitsu@google.com>
Mon, 27 Oct 2025 16:40:50 +0000 (09:40 -0700)
commitf619b4a00d6a7ce2fbb84729cdfe764697cb2171
tree88ef9feade15200a0d84970d35d9abc819017645
parentf527994c6102f3d599da1a24e6acf4b8ea1a787b
cmd/go: reorder parameters so that context is first

This change simply reorders parameters so that the context.Context is
the first, as per standard practice.

This commit is part of the overall effort to eliminate global
modloader state.

Change-Id: I22d366fb2d2457f44d668409da3fe76fb87180cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/714780
Reviewed-by: Michael Matloob <matloob@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/workcmd/init.go
src/cmd/go/internal/workcmd/use.go