Y
Hacker News
new
|
ask
|
show
|
jobs
by
earthboundkid
513 days ago
You can do it using gofmt, by writing
gofmt -w -r '"github.com/abc/def" -> "github.com/abc/def/v2"' .
That won't do subpackages though.