GO,BEE安装,及出现的问题
================ 基本信息
set GO111MODULE=on
set GOPROXY=http://goproxy.cn
go mod init mypro 初始化一个moudle,模块名为你项目名
go mod init test1 创建项目
go get -u 更新
go mod tidy 增加缺失的包,移除没用的包
================ bee 安装
go get -u github.com/astaxie/beego
go get -u github.com/beego/bee
go env命令查看Go的环境变量
================ Go常见问题(一)Visual Studio Code 无法识别 go 指令
参考链接:https://www.jianshu.com/p/e2ddc10588fc
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
解决创建beego工程时报错:无法将“bee”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
参考链接: https://blog.csdn.net/superyu1992/article/details/128233708

浙公网安备 33010602011771号