aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGreg Carter2019-11-01 23:31:26 -0600
committerGreg Carter2019-11-01 23:31:26 -0600
commitd42d06ee81a32c77c849057d7e43ab0e278690c6 (patch)
tree83a5b586dadd1c0155c9fd6b0cfee982d0dfb9a4 /README.md
parent9efbee930b0e1fb46fb56eca5512620b22db126b (diff)
downloadgomove-d42d06ee81a32c77c849057d7e43ab0e278690c6.tar.bz2
Keep comments in safe mode.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index cbd0d93..da599fc 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ You can also run `gomove --help` for help.
Safe Mode
-------------
-By default this tool uses something called native mode where it scans through the go files, finds import statements and replaces the package names. However if you want to use a more safe way of changing the import statements, you can use Safe Mode which parses the ast tree of the go file and replaces imports from there. The biggest downside to using this is that it will remove all the comments from go files and also prettify your files. To use it in safe mode set the `--safe-mode` or `-s` flag to true:
+By default this tool uses something called native mode where it scans through the go files, finds import statements and replaces the package names. However if you want to use a more safe way of changing the import statements, you can use Safe Mode which parses the ast tree of the go file and replaces imports from there. The biggest downside to using this is that it will [prettify](https://godoc.org/github.com/golang/go/src/cmd/gofmt) your files. To use it in safe mode set the `--safe-mode` or `-s` flag to true:
gomove --safe-mode true github.com/bla/bla github.com/foo/bar