go - golang gofmt package rewrite wildcard -


i'm trying gofmt rewrite of packages start prefix. like:

gofmt -r 'github.com/some/path/<wildcard> -> someotherrepo.com/some/path/<wildcard>'

obviously wildcard isn't valid syntax, showing concept. i've tried single lowercase character, doesn't work here.

is possible i'm trying gofmt?

this gofmt command page says

given file, operates on file; given directory, operates on .go files in directory, recursively 

https://golang.org/cmd/gofmt/


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -