]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modindex: eliminate duplicated vars
authorKir Kolyshkin <kolyshkin@gmail.com>
Fri, 7 Nov 2025 19:07:16 +0000 (11:07 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 12 Feb 2026 17:31:15 +0000 (09:31 -0800)
commit31a03fe20c5361924622fd4cc92edcd08ba07072
tree9ba7544472cbc5a534b71764e894a08bd51da68d
parent2a1d605e7f5a0f8870abb9cc26edf27db3ad5452
cmd/go/internal/modindex: eliminate duplicated vars

There is no need to have two sets of the same slices.

The names are chosen to be the same as in ../imports.

Change-Id: I92dca46127e25b5226cce3cc11749cd5957ad609
Reviewed-on: https://go-review.googlesource.com/c/go/+/718800
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/go/internal/modindex/build.go