
上QQ阅读APP看书,第一时间看更新
Getting ready
In this recipe we're going to use the example todo code. This is available at https://github.com/beego/samples/tree/master/todo.
It's important to build this rather than just using go run, otherwise you'll have issues. Consider the following example:
cd $GOPATH/src/github.com/beego/samples/todo
go build
./main