internal/buildtest: add

Add the buildtest package, to aid running `go build` in tests.
Copied from the x/vuln repo.

Change-Id: I68c38ab28ed893e6cd7334ad79dda1d087ad7f19
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/467717
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
1 file changed
tree: 1e32a2af91a35814407328ee3dce086d9bcd6dbe
  1. cmd/
  2. deploy/
  3. devtools/
  4. internal/
  5. static/
  6. terraform/
  7. all_test.go
  8. checks.bash
  9. config.json.commented
  10. CONTRIBUTING.md
  11. go.mod
  12. go.sum
  13. LICENSE
  14. PATENTS
  15. README.md
  16. tools_test.go
README.md

pkgsite-metrics

This repository contains code that serves pkg.go.dev/metrics.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.