beego is an open-source, high-performance web framework for the Go programming language.
Clone or download
Latest commit 8152ade Nov 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github update issue template Mar 23, 2016
cache Update memory.go Nov 13, 2018
config Read over 4096 length values Aug 17, 2018
context Add .Elapsed in context.ResponseWriter for monitor purpose Nov 19, 2018
grace fix golint comments Nov 25, 2017
httplib Update httplib_test.go Nov 12, 2018
logs edit test case Jul 26, 2018
migration Update: Fix migration generate SQL Jan 4, 2018
orm add different column name parse strategy Nov 20, 2018
plugins Fix the new repo address for casbin. May 19, 2017
session Merge pull request #3317 from HSoshiant/master Nov 14, 2018
swagger Swagger: Mar 10, 2018
testdata feat(Template): testing fs bindata Nov 5, 2018
testing golint testing Sep 12, 2015
toolbox Merge pull request #3387 from wuyumin/master Nov 13, 2018
utils breaks rely on TestNewBeeMap Aug 1, 2018
validation fix typo Jul 17, 2018
vendor update vendor & module Nov 28, 2018
.gitignore ignore .vscode folder Dec 29, 2016
.gosimpleignore add go simple support Mar 17, 2017
.travis.yml Merge pull request #3420 from xpzouying/format_list_travis_yml Nov 30, 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 better format Nov 26, 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 v1.11.1 Nov 22, 2018
config.go AutoCert Jul 20, 2018
config_test.go Add map shortcut and ServeFormatted method in output Aug 20, 2018
controller.go fix the comments update Nov 9, 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
fs.go refactor(FileSystem): add comments function Nov 10, 2018
go.mod update vendor & module Nov 28, 2018
go.sum update vendor & module Nov 28, 2018
hooks.go better format Nov 26, 2018
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 Add annotated filter, support @import, @filter. Sep 7, 2018
policy.go golint Apr 29, 2017
router.go better format Nov 26, 2018
router_test.go Test YAML May 31, 2018
staticfile.go fix / can use dynamic directory Oct 1, 2018
staticfile_test.go Fix Unexpected EOF bug in staticfile May 7, 2018
template.go Merge pull request #3419 from xpzouying/close_fs_when_is_not_nil Nov 30, 2018
template_test.go feat(Template): use interface http.FileSystem Nov 6, 2018
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).