cmd/govulncheck/govulnchecklib: make main functionality public

We add this package to make integration in gopls easier.
We do not plan to make this API stable.

Change-Id: Ia0ae93520b4ef69fb3ba25ea6eb56ffb2767c673
TryBot-Result: Gopher Robot <>
Run-TryBot: Hyang-Ah Hana Kim <>
Reviewed-by: Zvonimir Pavlinovic <>
Reviewed-by: Jonathan Amsterdam <>
9 files changed
tree: 959414c8281283559f6b0b01a26eb786c083bb3e
  1. client/
  2. cmd/
  3. devtools/
  4. doc/
  5. internal/
  6. osv/
  7. vulncheck/
  8. .gitignore
  9. all_test.go
  10. checks.bash
  12. go.mod
  13. go.sum
  17. tools_test.go

Go Vulnerability Management

Go Reference

This repository contains packages for accessing and analyzing data from the Go Vulnerability Database. It contains the following:

  • Package client: a client for interacting with the Go vulnerability database
  • Package vulncheck: an API for detecting vulnerabilities in Go packages
  • Command govulncheck: a CLI for detecting vulnerabilities in Go packages

Check out for more information about the Go vulnerability management system.

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.