终端命令:
go get -u github.com/astaxie/beego
go get -u github.com/beego/bee
添加环境变量:
open ~/.bash_profile
粘贴:
export GOPATH={PATH}:${GOPATH}/bin
生效:
source ~/.bash_profile
输入go
输入bee
验证是否成功。
创建项目:
bee new demo
bee api demo
终端命令:
go get -u github.com/astaxie/beego
go get -u github.com/beego/bee
添加环境变量:
open ~/.bash_profile
粘贴:
export GOPATH={PATH}:${GOPATH}/bin
生效:
source ~/.bash_profile
输入go
输入bee
验证是否成功。
创建项目:
bee new demo
bee api demo
本文标题:Mac 安装beego
本文链接:https://www.haomeiwen.com/subject/zkztectx.html
网友评论