瀏覽代碼

Use -u flag in pprof installation command so that it updates if needed. (#376)

Alexey Alexandrov 7 年之前
父節點
當前提交
4d67f66d7c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

36
 
36
 
37
 To build and install it, use the `go get` tool.
37
 To build and install it, use the `go get` tool.
38
 
38
 
39
-    go get github.com/google/pprof
39
+    go get -u github.com/google/pprof
40
 
40
 
41
 Remember to set GOPATH to the directory where you want pprof to be
41
 Remember to set GOPATH to the directory where you want pprof to be
42
 installed.  The binary will be in `$GOPATH/bin` and the sources under
42
 installed.  The binary will be in `$GOPATH/bin` and the sources under