commit | acf19d27abc759d37970cb3d9474fafef4f48fb4 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Sep 07 08:34:41 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Sep 07 15:12:34 2021 +0000 |
tree | 58f8202302acd7bce35bfb3878b1ef6fb6a35356 | |
parent | c07f491e8ed87ec8d6fd1e683554010b2aae5fc9 [diff] |
cmd/frontend: add a cache for vuln data The vulndb.Client already supports caching; we just have to supply an implementation. The only implementation in golang.org/x/vulndb uses the filesystem, so we can't use it on App Engine. Provide an in-memory implementation instead. For golang/go#48223 Change-Id: I0431921dcabfb5546350dff095ae6aa5668ad892 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347969 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.