Skip to content
  • Jamie Tanna's avatar
    34c23083
    chore(endoflifedate): add a `Checker` · 34c23083
    Jamie Tanna authored and Jamie Tanna's avatar Jamie Tanna committed
    As we've found with `endoflifedate.Renovate` and `endoflifedate.SBOM`,
    the response that comes back from `endoflife.date` isn't the nicest to
    work with due to different Products being able to return back a boolean
    instead of a date.
    
    To make it easier to work with this, as part of future changes, we can
    create a new `Checker` type that performs a lookup based on a given
    response from the `oapi-codegen`'d client.
    34c23083
    chore(endoflifedate): add a `Checker`
    Jamie Tanna authored and Jamie Tanna's avatar Jamie Tanna committed
    As we've found with `endoflifedate.Renovate` and `endoflifedate.SBOM`,
    the response that comes back from `endoflife.date` isn't the nicest to
    work with due to different Products being able to return back a boolean
    instead of a date.
    
    To make it easier to work with this, as part of future changes, we can
    create a new `Checker` type that performs a lookup based on a given
    response from the `oapi-codegen`'d client.
Loading