commit | a17b61b960be3c4c32d7ac5d5c40f6cedff4c150 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon Aug 16 19:01:30 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Aug 17 03:15:20 2021 +0000 |
tree | 9d87591f5cc5cfcbef831b7627daba3f254d3925 | |
parent | ec9d430e599820cf48f5109862933541a6d1cf37 [diff] |
cmd/prober: check for stdlib in search Add a probe that verifies that standard library packages are being returned from relevant searches. To do this, add a general way to check for a string in the response body. Also, add a flag to turn off metrics collection, to simplify running locally. Change-Id: I1ac0222d4c7d6e7ed87a79fe79aa0f91674f6941 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/342673 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com>
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.