-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use 'git clone' instead of 'go get' for in the build or developer's w…
…orkflow documentation. As golang released their new version 1.17.1 go get is not supported anymore. golang/go#31529 (comment) suggests using 'git clone' rather than 'go get'.
- Loading branch information
Laurent Chavey
committed
Nov 20, 2021
1 parent
e9b0287
commit 0744520
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,8 @@ automatically set in all console sessions. | |
To get the source code, run | ||
|
||
``` | ||
go get github.com/google/pprof | ||
eval {'mkdir -p',cd}\ $GOPATH/src/github.com/google\; | ||
git clone [email protected]:google/pprof.git | ||
``` | ||
|
||
To run the tests, do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,11 @@ Prerequisites: | |
- Graphviz: http://www.graphviz.org/ | ||
Optional, used to generate graphic visualizations of profiles | ||
|
||
To build and install it, use the `go get` tool. | ||
To build and install it, use the `go clone`. | ||
|
||
go get -u github.com/google/pprof | ||
eval {'mkdir -p',cd}\ $GOPATH/src/github.com/google\; | ||
git clone [email protected]:google/pprof.git | ||
go install | ||
|
||
Remember to set GOPATH to the directory where you want pprof to be | ||
installed. The binary will be in `$GOPATH/bin` and the sources under | ||
|