查看 GOPATH路径 go env 切换到GOPATH路径下 ,执行以下指令 go get github.com/gomodule/redigo/redis 在Goland中使用Redis gomodule 文档 . .