I'm trying to do a gofmt
rewrite of all packages that start with a certain prefix. Something like:
gofmt -r 'github.com/some/path/<wildcard> -> someotherrepo.com/some/path/<wildcard>'
Obviously wildcard
isn't valid syntax, just showing the concept. I've tried with a single lowercase character, but that doesn't work here.
Is it possible to do what I'm trying with gofmt
?