(opts scanOptions)
| 108 | } |
| 109 | |
| 110 | func executeScan(opts scanOptions) error { |
| 111 | return executeScanContext(context.Background(), opts) |
| 112 | } |
| 113 | |
| 114 | func executeScanContext(ctx context.Context, opts scanOptions) (retErr error) { |
| 115 | out, closeOut, err := resolveOutputWriter(opts.outputPath, opts.outputFormat) |