]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add missing str imports to fix addmod and savedir
authorDavis Goodin <dagood@microsoft.com>
Tue, 29 Aug 2023 17:39:58 +0000 (12:39 -0500)
committerGopher Robot <gobot@golang.org>
Wed, 30 Aug 2023 19:41:54 +0000 (19:41 +0000)
commita756cc0967c240820b491fa6412cfe6bd7b4bf8b
treea39691c6813ae37c19da2cebb85b8128f91a77d4
parentc9911b9a842f4399f59957da5622bc535dc2c688
cmd/go: add missing str imports to fix addmod and savedir

The addmod.go and savedir.go testdata generation tools were missing the
"cmd/go/internal/str" import, causing them to fail to build. This change
adds the imports.

This makes progress on the work to use Join functions rather than path
manipulation using the path separator:
https://go-review.googlesource.com/c/go/+/463178

Change-Id: Ia70253afc0a351c646e672bd4178a8738e4e69cf
Reviewed-on: https://go-review.googlesource.com/c/go/+/524155
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/go/testdata/addmod.go
src/cmd/go/testdata/savedir.go