commit | 485fff3f2c84d78d2c259d17fbf0d8bb3625ea0b | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Sep 16 12:24:50 2022 -0700 |
committer | Damien Neil <dneil@google.com> | Fri Sep 16 19:49:39 2022 +0000 |
tree | 129015a079259a5b84f1e3b13eabde0322e6fe37 | |
parent | cac67f5c7c815b458cf683c41541d157d8217beb [diff] |
osv: add omitempty to published and modified fields The modified field is required (published is not), but it's useful for us to be able to store partial OSV entries without a modification time. Set the omitempty json tag on these fields so they don't show up with the zero Time. Change-Id: Id044c84f67ad89bec29ed9f0d1cec1fd3c53105c Reviewed-on: https://go-review.googlesource.com/c/vuln/+/431435 Reviewed-by: Tatiana Bradley <tatiana@golang.org> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository contains packages for accessing and analyzing data from the Go Vulnerability Database. It contains the following:
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.