Skip to content
/ beego Public

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

License

Notifications You must be signed in to change notification settings

beego/beego

Folders and files

NameName
Last commit message
Last commit date
Jul 1, 2024
Mar 26, 2025
Apr 4, 2025
Jul 1, 2024
Apr 4, 2025
Feb 2, 2024
Feb 28, 2025
May 27, 2023
Aug 10, 2021
Oct 31, 2024
Sep 18, 2023
Feb 10, 2021
Jul 31, 2023
May 27, 2023
May 26, 2024
Dec 12, 2020
Oct 8, 2020
Aug 7, 2024
Aug 7, 2024
Apr 29, 2022

Repository files navigation

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

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).