Beego is extremely fast and reliable web framework written in Go



beego.png

Fast start

Download and install beego

1
go get github.com/astaxie/beego

Create file hello.go

1
2
3
4
5
6
7
package main
import "github.com/astaxie/beego"
func main() {
beego.Run()
}

Build and run

1
2
go build hello.go
./hello

Then

1
open http://localhost:8080

bee tool

You can bundle your beego application with static files, templates (if you want to ship it with docker, for example)
In order to do this download and install:

1
go get github.com/beego/bee

Bundle it:

1
bee pack

This tool can also handle such routine operations as:

1
2
3
4
5
6
7
8
9
new create an application base on beego framework
run run the app which can hot compile
pack compress an beego project
api create an api application base on beego framework
bale packs non-Go files to Go source files
version show the bee & beego version
generate source code generator
migrate run database migrations
hprose create an rpc application use hprose base on beego framework

If you are inspired by this shiny framework you can visit official documentation:
beego