Beego
beego is used for rapid development of RESTful APIs, web apps and backend services in Go.
It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.
Quick Start
Create hello
directory, cd hello
directory
mkdir hello
cd hello
Init module
go mod init
Download and install
go get github.com/astaxie/beego
Create file hello.go
package main
import "github.com/astaxie/beego"
func main(){
beego.Run()
}
Build and run
go build hello.go
./hello
Congratulations! You've just built your first beego app.
Features
- RESTful support
- MVC architecture
- Modularity
- Auto API documents
- Annotation router
- Namespace
- Powerful development tools
- Full stack for Web & API
Documentation
License
beego source code is licensed under the Apache Licence, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.html).