Skip to content

Commit

Permalink
go/pointer: remove replace directive
Browse files Browse the repository at this point in the history
This makes it so that 'go install golang.org/x/tools/go/pointer@latest'
will continue to work. ('go install pkg@version' does not allow
replace directives.)

Updates golang/go#59676

Change-Id: I7dcb95a5730bd68d42a5873f9f9cec6bef773205
Reviewed-on: https://go-review.googlesource.com/c/tools/+/499756
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
  • Loading branch information
adonovan committed Jun 1, 2023
1 parent 98f1b4d commit 0dda7d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions go/pointer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ module golang.org/x/tools/go/pointer

go 1.18 // tagx:compat 1.16

require golang.org/x/sys v0.8.0

require (
golang.org/x/sys v0.8.0
golang.org/x/tools v0.9.2
golang.org/x/mod v0.10.0 // indirect
golang.org/x/tools v0.9.2-0.20230531220058-a260315e300a
)

require golang.org/x/mod v0.10.0 // indirect

replace golang.org/x/tools => ../../
2 changes: 2 additions & 0 deletions go/pointer/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/tools v0.9.2-0.20230531220058-a260315e300a h1:rym71QNKHeCt6OA9UbKSr3jmBnbRNACMDLX5zI18ZOk=
golang.org/x/tools v0.9.2-0.20230531220058-a260315e300a/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=

0 comments on commit 0dda7d6

Please sign in to comment.