安装
cd %GOPATH%/src
//安装beego
go get github.com/astaxie/beego
//安装bee
go get github.com/beego/bee
helloworld
//生成一个项目
bee new my-app
//运行项目
bee run my-app
在Goland中运行和调试
在Goland中使用 bee run 需要 Edit Configurations , 否则不能加载资源文件
Goland debug 还是用 go build main.go 但需要指定资源路径 , 发布的时候可以将这个硬编码删除 -_-!