mac安装beego脚手架遇到的问题
1. 运行环境
- Mac
- Go 1.18.5
2. 问题描述?
go get github.com/beego/bee
使用go get安装bee时出现如下错误
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 golang.org/doc/go-get-install-depr...
or run ‘go help get’ or ‘go help install’.
推荐文章: