Beego is used for rapid development of enterprise application in Go, including RESTful APIs, web apps and backend services.
It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.
- New Doc Website - unavailable
- New Doc Website Backup @flycash
- New Doc Website source code
- Old Doc - github
- Example
Kindly remind that sometimes the HTTPS certificate is expired, you may get some NOT SECURE warning
mkdir hello
cd hello
go mod init
go get github.com/beego/beego/v2@latest
package main
import "github.com/beego/beego/v2/server/web"
func main() {
web.Run()
}
go mod tidy
go build hello.go
./hello
Go to http://localhost:8080
Congratulations! You've just built your first beego app.
- RESTful support
- MVC architecture
- Modularity
- Auto API documents
- Annotation router
- Namespace
- Powerful development tools
- Full stack for Web & API
- Welcome to join us in Slack: https://beego.slack.com invite,
- QQ Group ID:523992905
- Contribution Guide.
beego source code is licensed under the Apache Licence, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.html).