Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

安装beego管理工具bee

go get github.com/beego/bee
go get github.com/astaxie/beego

装好了bee管理工具之后,运用bee创建项目

创建项目

bee new会自动在GOPATH路径src目录下创建项目

bee new project_name

运行项目

定位到项目目录 GOPATH/src/project_name


go build project_name
go run
或者
bee run