JSONWriter implements result Writer
| 14 | |
| 15 | // JSONWriter implements result Writer |
| 16 | type JSONWriter struct { |
| 17 | Output io.Writer |
| 18 | ListAllPkgs bool |
| 19 | ShowSuppressed bool |
| 20 | } |
| 21 | |
| 22 | // Write writes the results in JSON format |
| 23 | func (jw JSONWriter) Write(_ context.Context, report types.Report) error { |
nothing calls this directly
no outgoing calls
no test coverage detected