在 GOPATH 目录之外 新建一个目录,并使用 go mod init 初始化生成 go.mod ... go get -u need-upgrade-package 升级后会将新的依赖版本更新到go.mod ...
確定! 回上一頁