internal/govulncheck,result: move functions

Move functions out of package result into package govulncheck, as a step
towards reducing the package to being only structs with no dependencies.

Change-Id: I7bb40af3395cd5210fd3e2077f616984098276d6
Reviewed-by: Julie Qiu <>
Run-TryBot: Julie Qiu <>
Reviewed-by: Ian Cottrell <>
TryBot-Result: Gopher Robot <>
5 files changed
tree: 8ada1e0ad070bbb75b5bcb91baad85810bee87d2
  1. client/
  2. cmd/
  3. devtools/
  4. doc/
  5. exp/
  6. internal/
  7. osv/
  8. vulncheck/
  9. .gitignore
  10. all_test.go
  11. checks.bash
  13. go.mod
  14. go.sum
  18. 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.