aboutsummaryrefslogtreecommitdiff
path: root/internal/osv
diff options
context:
space:
mode:
Diffstat (limited to 'internal/osv')
-rw-r--r--internal/osv/osv.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/osv/osv.go b/internal/osv/osv.go
index ebc95ffd..6a307d88 100644
--- a/internal/osv/osv.go
+++ b/internal/osv/osv.go
@@ -192,10 +192,10 @@ type Entry struct {
// GO-<YEAR>-<ENTRYID>.
ID string `json:"id"`
// Modified is the time the entry was last modified. Required.
- Modified time.Time `json:"modified,omitempty"`
+ Modified time.Time `json:"modified"`
// Published is the time the entry should be considered to have
// been published.
- Published time.Time `json:"published,omitempty"`
+ Published time.Time `json:"published"`
// Withdrawn is the time the entry should be considered to have
// been withdrawn. If the field is missing, then the entry has
// not been withdrawn.