cmd/govulncheck: clean up test

staticcheck was complaining

Change-Id: I67c965b01f67ea907fdb5fa9b7a37447a49b9bde
Run-TryBot: Zvonimir Pavlinovic <>
Reviewed-by: Ian Cottrell <>
LUCI-TryBot-Result: Go LUCI <>
TryBot-Result: Gopher Robot <>
1 file changed
tree: 7b0b594855c677716dccdade33ad5497d58383aa
  1. cmd/
  2. doc/
  3. internal/
  4. scan/
  5. .gitignore
  6. all_test.go
  8. go.mod
  9. go.sum

Go Vulnerability Management

Go Reference

Go's support for vulnerability management includes tooling for analyzing your codebase and binaries to surface known vulnerabilities in your dependencies. This tooling is backed by the Go vulnerability database, which is curated by the Go security team. Go’s tooling reduces noise in your results by only surfacing vulnerabilities in functions that your code is actually calling.

You can install the latest version of govulncheck using go install

go install

Then, run govulncheck inside your module:

govulncheck ./...

See the govulncheck tutorial to get started, and for more information about Go's support for vulnerability management. The API documentation can be found at

Privacy Policy

The privacy policy for govulncheck can be found at


Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Database entries available at are distributed under the terms of the CC-BY 4.0 license.