commit | 82a44d5d5e9167b5b8b7d9488496d11b280d1c03 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Mar 07 13:21:08 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Mar 07 19:25:29 2023 +0000 |
tree | c774c8ba6c83d74de4f19d726bb2fa0543e6f21c | |
parent | a6a576e8b3f149a5177468f16076a20ef924db1b [diff] |
internal/worker: generalize scan Move various wrappers around scanning, like logging and cleanup, into their own function `doScan` so it can be used by both govulncheck and analysis scanners. Change-Id: I82d4c1145a9f55f72926261fcfcb0eb468b29a8b Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/474157 Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
This repository contains code that serves pkg.go.dev/metrics.
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.