osv: move methods to internal

Move methods to internal/ so that the osv package reflects only the JSON
structs with no dependencies.

Change-Id: I68d53f5ac599a45fc2901eab0e4a3df140822e01
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/475095
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
5 files changed
tree: 5bb170e39b8b827c3a26eb212512968d5dc2ad1a
  1. cmd/
  2. devtools/
  3. doc/
  4. internal/
  5. osv/
  6. .gitignore
  7. all_test.go
  8. checks.bash
  10. go.mod
  11. go.sum
  14. README.md
  15. 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 https://go.dev/security/vuln for more information about the Go vulnerability management system.

Privacy Policy

The privacy policy for govulncheck can be found at https://vuln.go.dev/privacy.


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

Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.