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.
Kindly remind that sometimes the HTTPS certificate is expired, you may get some NOT SECURE warning
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 mod tidy
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).