I think we should change definition of redundant alias, because import like this:
import apiv2 "cloud.google.com/go/run/apiv2" is ok i one condition: when alias apiv2 is used min one time in code below import, otherwise is redundant because is not used
of course this rule checks only imports with aliases, imports without aliases are ignored in this rule :)
related with: #936
I think we should change definition of redundant alias, because import like this:
import apiv2 "cloud.google.com/go/run/apiv2" is ok i one condition: when alias apiv2 is used min one time in code below import, otherwise is redundant because is not used
of course this rule checks only imports with aliases, imports without aliases are ignored in this rule :)