Replace 替换文件中的环境变量 go build 例如,对于*nix, 如果 export TDP_HOME=~/tdp tdp_home = ${TDP_HOME} 中文 会被替换为 tdp_home = /Users/q/tdp 中文