Skip to content

rewrite sqlvet using analysis.Analyzer? #7

@yasushi-saito

Description

@yasushi-saito

The current sqlvet requires full parsing of the entire main package(s), so it becomes pretty slow for a large codebase. There's conveniently an article about using "go vet"'s analysis.Analyzer framework to detect SQL statements:

https://agniva.me/vet/2019/01/21/vet-analyzer.html

Does it make sense to rewrite sqlvet using it? I can try my hand over the holidays if you think it's a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions