Hi,
I think this would best be prototyped as a third party project. One
potentially deal-breaking issue I see with this approach is that diffs
aren't precise (or rather, what they precisely are doesn't align well with
what humans expect). I'd imagine that you'd come up with tons of false
positives
Go can’t break backwards compatibility, but we all know there are apis and
features we wished were removed.
What if go vet was extended to check if deprecated apis were used in the
current git diff? Go can’t delete apis, but by extending go vet it can push
back hard against their usage.
It’s