beego / beego
- среда, 27 июля 2022 г. в 00:33:43
beego is an open-source, high-performance web framework for the Go programming language.
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.
Beego is composed of four parts:
Please use RELEASE version, or master branch which contains the latest bug fix
If you could not open official website, go to beedoc
hello
directory, cd hello
directorymkdir hello
cd hello
go mod init
go get github.com/beego/beego/v2@latest
hello.go
package main
import "github.com/beego/beego/v2/server/web"
func main() {
web.Run()
}
go build hello.go
./hello
Congratulations! You've just built your first beego app.
beego source code is licensed under the Apache Licence, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.html).