Comment Comment by earthboundkid You can do it using gofmt, by writinggofmt -w -r '"github.com/abc/def" -> "github.com/abc/def/v2"' .That won't do subpackages though. parent earthboundkid 1 year ago
gofmt -w -r '"github.com/abc/def" -> "github.com/abc/def/v2"' .
That won't do subpackages though.