chainguard-dev / vex

vexctl is a tool to attest VEX impact statements
Apache License 2.0
44 stars 11 forks source link

Change dates to pointers #48

Closed puerco closed 1 year ago

puerco commented 1 year ago

This PR changes the dates in our vex structs to pointers to be able to nil them

Signed-off-by: Adolfo Garcia Veytia (puerco) puerco@chainguard.dev

puerco commented 1 year ago

I've added checks to watch out for nil pointers before referencing them. I've also dropped my statement sorting function and merge now uses yours @luhring , which is more complete.