commit | 6ddd1af9049b788fbeb81a62808512a0c881337e | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Jun 02 10:59:17 2023 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Sat Jun 03 02:32:46 2023 +0000 |
tree | f9ac85bb17d9d43389fd570e0f8febc78e287a64 | |
parent | ac9c47a12923f7bd8932935bb0453f464bf2020b [diff] |
internal/vulndbreqs: simplify counting logic We were counting a day at a time anyway, so specialize some functions for a single date instead of a range. Change-Id: Ibff78fcbf21de9ae4393d39c6def70ef7c4e9f99 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/500237 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.