commit | 0f1ab4016d2df2b38cdee471ef35b315cb296e50 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Mar 17 15:54:08 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Mon Mar 21 16:55:25 2022 +0000 |
tree | 6f7c0eb1295e5ab1cec11b2cdb79835dee489041 | |
parent | 17e038685c55596cd0f7705a5ca202755b953099 [diff] |
internal/worker/store: simplify tests Using generics, write a function "must1" that reduces clutter in tests by handling errors in setup code. Change-Id: Iedb6cadac11359254d3bdcf8495c4bf00ae9431b Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/393776 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
This repository contains the reports for the Go Vulnerability Database.
If you are interested accessing data from the Go Vulnerability Database, see x/vuln for information. This repository is only used for adding new vulnerabilities.
We are not accepting new vulnerability reports at this time. We will update this README.md once we are ready to receive reports.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries are distributed under the terms of the CC-BY 4.0 license. See x/vuln for information on how to access these entries.