beego is an open-source, high-performance web framework for the Go programming language.
Clone or download
Latest commit 5b8e468 Oct 5, 2018
Permalink
Failed to load latest commit information.
.github update issue template Mar 23, 2016
cache Merge pull request #3339 from GNURub/hotfix/redis-uri Sep 30, 2018
config Read over 4096 length values Aug 17, 2018
context Fix content type Aug 21, 2018
grace fix golint comments Nov 25, 2017
httplib Merge branch 'develop' into feature/YAML Jul 20, 2018
logs edit test case Jul 26, 2018
migration Update: Fix migration generate SQL Jan 4, 2018
orm Merge pull request #3344 from akhedrane/patch-1 Oct 5, 2018
plugins Fix the new repo address for casbin. May 19, 2017
session add session redis IdleTimeout config Jul 12, 2018
swagger Swagger: Mar 10, 2018
testing golint testing Sep 12, 2015
toolbox fix bug of tasks that only some but not all are executed Aug 1, 2018
utils breaks rely on TestNewBeeMap Aug 1, 2018
validation fix typo Jul 17, 2018
vendor add vendor gopkg.in/yaml.v2 Jul 31, 2018
.gitignore ignore .vscode folder Dec 29, 2016
.gosimpleignore add go simple support Mar 17, 2017
.travis.yml Updated travis go version Sep 27, 2018
CONTRIBUTING.md add CONTRIBUTING.md Jan 13, 2016
LICENSE update all files License May 16, 2014
README.md Added link to ranking Sep 24, 2018
admin.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
admin_test.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
adminui.go fix #1877 Sep 13, 2016
app.go Autocert ok Jul 20, 2018
beego.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
config.go AutoCert Jul 20, 2018
config_test.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
controller.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
controller_test.go gofmt simplify Apr 20, 2017
doc.go fix typo Jan 17, 2016
error.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
error_test.go fix the gosimple Jul 18, 2017
filter.go adds ability to reset params after a filter runs Aug 7, 2016
filter_test.go change to logs Mar 25, 2016
flash.go typo fixed Jan 15, 2016
flash_test.go add go simple support Mar 17, 2017
go.mod support go modules Sep 5, 2018
go.sum support go modules Sep 5, 2018
hooks.go Merge pull request #2315 from sch00lb0y/master May 19, 2017
log.go remove from init method Mar 25, 2016
mime.go fix the typo Aug 17, 2016
namespace.go Fixes #2587 Apr 23, 2017
namespace_test.go add go simple support Mar 17, 2017
parser.go fix: When multiply comment routers on one func, only generates the la… Jun 28, 2018
policy.go golint Apr 29, 2017
router.go Merge branch 'develop' into feature/YAML Jul 20, 2018
router_test.go Test YAML May 31, 2018
staticfile.go Fix Unexpected EOF bug in staticfile May 7, 2018
staticfile_test.go Fix Unexpected EOF bug in staticfile May 7, 2018
template.go Update template.go Apr 20, 2018
template_test.go golint Apr 29, 2017
templatefunc.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
templatefunc_test.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
tree.go fixed mispelled word Aug 20, 2017
tree_test.go fix routing bug for splat Mar 10, 2017
unregroute_test.go fix golint comments Nov 25, 2017

README.md

Beego Build Status GoDoc Foundation Go Report Card

beego is used for rapid development of RESTful APIs, web apps and backend services in Go. It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.

Response time ranking: web-frameworks.

More info at beego.me.

Quick Start

Download and install

go get github.com/astaxie/beego

Create file hello.go

package main

import "github.com/astaxie/beego"

func main(){
    beego.Run()
}

Build and run

go build hello.go
./hello

Go to http://localhost:8080

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

Please see Documentation for more.

Features

  • RESTful support
  • MVC architecture
  • Modularity
  • Auto API documents
  • Annotation router
  • Namespace
  • Powerful development tools
  • Full stack for Web & API

Documentation

Community

License

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