diff --git a/README.md b/README.md index 7a28e72..be5151a 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,8 @@ sudo apt install docker.io ```bash export GOPATH=/root/go -export GOROOT=/usr/local/go, -export PATH=$GOROOT/bin: +export GOROOT=/usr/local/go +export PATH=$GOROOT/bin:$PATH ``` 6. $PATH 激活环境变量: source /etc/profile