Awesome Go

Beego

CategoryWeb Frameworks
SubcategoryWeb Frameworks
Stars0

beego is an open-source, high-performance web framework for the Go programming language

About Beego

Beego Test Go Report Card Go Reference

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.

Quick Start

Kindly remind that sometimes the HTTPS certificate is expired, you may get some NOT SECURE warning

Web Application

Create hello directory, cd hello directory

mkdir hello
cd hello

Init module

go mod init

Download and install

go get github.com/beego/beego/v2@latest

Create file hello.go

package main

import "github.com/beego/beego/v2/server/web"

func main() {
	web.Run()
}

Download required dependencies

go mod tidy

Build and run

go build hello.go
./hello

Go to http://localhost:8080

Congratulations! You've just built your first beego app.

Features

Modules

Community

License

beego source code is licensed under the Apache Licence, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.html).

Frequently Asked Questions

What is Beego?

Beego is a Web Frameworks library for the Go programming language. beego is an open-source, high-performance web framework for the Go programming language

How do I install Beego?

Install Beego with the Go module system using `go get beego/beego`. Check the repository for the current installation instructions.

What category does Beego belong to?

Beego is listed under Web Frameworks, specifically Web Frameworks.

← Back to Web Frameworks