BASH代码:
source ~/.bash_profile; export GOPATH=$GOPATH:`cd ..; pwd`; echo -e "* GOPATH: $GOPATH Input file name:"; read file; echo -e " * FILE NAME: $file "; go run $file;
运行效果截图:
转载请注明出处:http://www.cnblogs.com/ficow/p/6637980.html