Skip to content

Commit 43158af

Browse files
Bryan C. Millsgopherbot
Bryan C. Mills
authored andcommitted
cmd/cover: carve out deprecated command into its own module
Since cmd/cover imports x/tools/cover (which is not itself deprecated), its go.mod file needs to require a version of x/tools that includes cover but not cmd/cover. Arbitrarily choose x/tools v0.4.0 as the likely next x/tools release tag and slot it in using a 'replace' directive. For golang/go#56783. Change-Id: I26a5829d0421724ab14437955a8cec4acbfd62b0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/451595 Run-TryBot: Bryan Mills <[email protected]> gopls-CI: kokoro <[email protected]> Auto-Submit: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Than McIntosh <[email protected]>
1 parent b798934 commit 43158af

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cmd/cover/go.mod

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module golang.org/x/tools/cmd/cover
2+
3+
go 1.18
4+
5+
replace golang.org/x/tools v0.4.0 => ../..
6+
7+
require (
8+
golang.org/x/sys v0.2.0
9+
golang.org/x/tools v0.4.0
10+
)

cmd/cover/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A=
2+
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 commit comments

Comments
 (0)