Gor, means go reload, is just one wrapper for auto reload action when go file added, change, removed in your work directorys.
Quick Start
Install gor globally
1 | $ npm install -g git+ssh://https://github.com/richardo2016/gor.git |
Run
change directory to your golang project then run ‘gor’ for example, your golang code located in ~/go_global/src/project.
1 | $ cd ~/go_global/src/project |
it would read the all go file with *.go suffix in the ~/go_global/src/project(root only) as entrie files.
now just change the *.go file in the ~/go_global/src/project(including its subdirectories recursively)