The first and the foremost thing we have to do to start a project is to set up its basic architecture. In Beego, this can be achieved easily using a tool called bee, which we will cover in this recipe.
Creating your first project using Beego
How to do it...
- Install the github.com/beego/bee package using the go get command, as follows:
$ go get github.com/beego/bee
- Open a terminal to your $GOPATH/src directory and create a project using the bee new command, as follows:
$ cd $GOPATH/src
$ bee new my-first-beego-project
Once the command has executed successfully, it will create a new Beego project, and the creation steps on the console will look like the following screenshot:
- Go to the path of the newly created project...