红联Linux门户
Linux帮助

Beego安装Mac linux

发布时间:2016-03-20 15:26:04来源:linux网站作者:_Rick_

1.beego下载

go get github.com/astaxie/beego

git https 无法获取

git config --global http.sslVerify false


2.beego 升级

go get -u github.com/astaxie/beego
go install github.com/astaxie/beego


3.bee工具安装

export GOPATH=your go project path
export PATH=$PATH:$GOPATH/bin

Beego安装Mac linux


4.创建项目

cd $GPATH/src
bee new hello

Beego安装Mac linux


5. bee run

bee run

Beego安装Mac linux

Beego安装Mac linux


本文永久更新地址:http://www.linuxdiyf.com/linux/19096.html