Recently, I was learning the beego framework in go. After downloading the dependencies
and executing bee new projectname, a problem arose:
the online tutorial said that there was a lack of environment variables, and also said that you need to compile main.go in the src folder of beego.
After working for a long time, it all ended in failure;
The solution is:
go install github.com/beego/bee/v2@master
implementbee version
Finally, execute bee new hello
problem solved;