install and use beego easily code example
Example: install and use beego easily
go env -w GO111MODULE=on
go get -u github.com/beego/beego/v2
go get -u github.com/beego/bee/v2
# then use the following command to create new bee project
bee new hello
cd hello
go mod tidy # run this to download needed packages
bee run
# now site will be available on port 8080