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

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.

architecture

Beego is composed of four parts:

  1. Base modules: including log module, config module, governor module;
  2. Task: is used for running timed tasks or periodic tasks;
  3. Client: including ORM module, httplib module, cache module;
  4. Server: including web module. We will support gRPC in the future;

Please use RELEASE version, or master branch which contains the latest bug fix

Quick Start

Official website 中文新版文档网站

Example

If you could not open official website, go to beedoc

Web Application

Http Request

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()
}

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

Contributors

astaxie
flycash
JessonChan
slene
jianzhiyao
miraclesu
fuxiaohei
ysqi
AllenX2018
Loyalsoldier
pengfei-xue
youngsterxyf
amrfaissal
IamCathal
changsongl
unknwon
holooooo
markismark
francoishill
GNURub
gadelkareem
elvizlai
dependabot[bot]
lxShaDoWxl
smallfish
gopherchai
gnanakeethan
phiphi282
nichtsen
DennisMao
a631807682
matrixik
paco0x
tayoogunbiyi
livelyRyan
HarryWang29
ZhengYang
pjoe
saturn4er
supar
jimashi
sergeylanzman
withshubh
byrnedo
mbm-c
lcbluestorm
zav8
Wusuluren
mlgd
Acmefocus
pabdavis
bsingr
byene0923
oiooj
fugr
SongLiangChen
1fei
BorisBorshevsky
curvesoft
tossp
coseyo
optimistic9527
nuczzz
tnextday
jihoon-seo
Hepri
greenhandatsjtu
sunxingboo
szyhf
aspacca
CadenGuo
GrimTheReaper
lunny
genedna
kioopi
wtospit
WithGJR
gobenon
huija
kbynd
peeped
pylemon
t29kida
toalexjin
zh199225
h1z3y3
codeskyblue
hurisheng
quasilyte
ktalg
wallclockbuilder
abelzhou
gouyang
kylemcc
leekchan
mvpmvh
ReganYue
zhangshuai
hsluoyz
maxshine