internal/report: use io.ReadAll and os.ReadFile

As of Go 1.16, ioutil.ReadFile simply calls os.ReadFile and
ioutil.ReadAll simply calls io.ReadAll.

Change-Id: I7f011842f0e5c9548386bc1c31f670290beb8f18
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/373534
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>
1 file changed
tree: 0803e3dd1aebb440f361465d6ea1c1b7d08c2d73
  1. cmd/
  2. deploy/
  3. devtools/
  4. doc/
  5. internal/
  6. reports/
  7. terraform/
  8. all_test.go
  9. AUTHORS
  10. checks.bash
  11. CONTRIBUTING.md
  12. CONTRIBUTORS
  13. go.mod
  14. go.sum
  15. LICENSE
  16. PATENTS
  17. README.md
  18. tools_test.go
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.