(engine storepb.Engine, ctx WalkThroughContext, d *model.DatabaseMetadata, ast []base.AST)
| 404 | } |
| 405 | |
| 406 | func WalkThroughWithContext(engine storepb.Engine, ctx WalkThroughContext, d *model.DatabaseMetadata, ast []base.AST) *storepb.Advice { |
| 407 | if f, ok := walkThroughsWithContext[engine]; ok { |
| 408 | return f(ctx, d, ast) |
| 409 | } |
| 410 | f, ok := walkThroughs[engine] |
| 411 | if !ok { |
| 412 | return nil |
| 413 | } |
| 414 | return f(d, ast) |
| 415 | } |
no test coverage detected