我想安装一个github.com/tuotoo/qrcode来给项目用的,百度半天还是不知道怎么装。 这也不行 [root@localhost ~]# go install github.com/tuotoo/qrcode@latest package github.com/tuotoo/qrcode is not a main package
这也不行,大佬们咋整 [root@localhost ~]# go get github.com/tuotoo/qrcode go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.
有疑问加站长微信联系(非本文作者)
