_content/blog/vuln: provide installation details for govulncheck

Fixes golang/go#57412

Change-Id: Id679631712b177c82f2ff2c15d141204e5ce47c5
Reviewed-on: https://go-review.googlesource.com/c/website/+/459255
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
This commit is contained in:
Zvonimir Pavlinovic 2022-12-22 10:26:15 -08:00
Родитель fc66a3dae1
Коммит 7257a64727
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -53,9 +53,15 @@ affect their projects.
Govulncheck analyzes your codebase and only surfaces vulnerabilities that
actually affect you,
based on which functions in your code are transitively calling vulnerable functions.
To start using govulncheck, you can run the following from your project:
You can install the latest version of govulncheck using
[go install](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies):
```
$ go install golang.org/x/vuln/cmd/govulncheck@latest
```
Then, run govulncheck inside your project directory:
```
$ govulncheck ./...
```