Beego框架配置问题go: go.mod file not found in current directory or any parent directory.'go get' is no longer supported outside a module.
参考
出错
在windows下输入go get github.com/astaxie/beego 报错
C:\Users\user>go get github.com/astaxie/beego
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