lint: move x/vuln/vlint.LintReport

golang.org/x/vuln/vlint.LintReport logic is moved to
internal/report.LintFile and used in TestLintReports.

The LintReport function is deleted from golang.org/x/vuln.

Change-Id: Ia40df6cf623a55f3d2055848158ab928ace14c74
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/373497
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2 files changed
tree: 320efdbc7473bb7daf01007faf7242531f9877a9
  1. cmd/
  2. deploy/
  3. devtools/
  4. internal/
  5. reports/
  6. all_test.go
  7. AUTHORS
  8. checks.bash
  9. CONTRIBUTING.md
  10. CONTRIBUTORS
  11. format.md
  12. go.mod
  13. go.sum
  14. LICENSE
  15. lint_test.go
  16. PATENTS
  17. README.md
  18. tools_test.go
  19. triaged-cve-list
README.md

The Go Vulnerability Database

This repository contains the reports for the Go Vulnerability Database.

If you are interested accessing data from the Go Vulnerability Database, see x/vuln for information. This repository is only used for adding new vulnerabilities.

Reporting a vulnerability

We are not accepting new vulnerability reports at this time. We will update this README.md once we are ready to receive reports.

License

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

Database entries are distributed under the terms of the CC-BY 4.0 license. See x/vuln for information on how to access these entries.