(ctx context.Context, name, query string)
| 332 | } |
| 333 | |
| 334 | func (p *dbPreparer) Prepare(ctx context.Context, name, query string) error { |
| 335 | s, err := p.db.PrepareContext(ctx, query) |
| 336 | if s != nil { |
| 337 | s.Close() |
| 338 | } |
| 339 | return err |
| 340 | } |
| 341 | |
| 342 | type explainer interface { |
| 343 | Explain(context.Context, string, ...*plugin.Parameter) (*vetEngineOutput, error) |
nothing calls this directly
no test coverage detected