osv-scanner icon indicating copy to clipboard operation
osv-scanner copied to clipboard

move `Source` from `osv.Query`

Open cuixq opened this issue 1 year ago • 0 comments

Currently, Query has fields required for constructing a query to OSV.dev but also has the not-that-relevant field Source. Source is in Query because we want to pass the information to the results. We should move it from Query to a separate struct - this will be a breaking change so reserve it for V2.

cuixq avatar Jun 20 '24 07:06 cuixq