NewNotAvailable create a finding with a NotAvailable outcome and the desired location.
(efs embed.FS, probeID, text string, loc *Location, )
| 152 | |
| 153 | // NewNotAvailable create a finding with a NotAvailable outcome and the desired location. |
| 154 | func NewNotAvailable(efs embed.FS, probeID, text string, loc *Location, |
| 155 | ) (*Finding, error) { |
| 156 | return NewWith(efs, probeID, text, loc, OutcomeNotAvailable) |
| 157 | } |
| 158 | |
| 159 | // NewNotSupported create a finding with a NotSupported outcome and the desired location. |
| 160 | func NewNotSupported(efs embed.FS, probeID, text string, loc *Location, |
no test coverage detected