(opts *GeneratorOptions)
| 71 | } |
| 72 | |
| 73 | func run(opts *GeneratorOptions) error { |
| 74 | // Determine mode: file-based or package-based |
| 75 | if opts.SourceFile != "" { |
| 76 | return runFileMode(opts) |
| 77 | } |
| 78 | return runPackageMode(opts) |
| 79 | } |
| 80 | |
| 81 | func runFileMode(opts *GeneratorOptions) error { |
| 82 | // Load packages including the specific file |
no test coverage detected