beego is an open-source, high-performance web framework for the Go programming language.
Go
Latest commit d96289a Jul 19, 2017 @astaxie committed on GitHub Merge pull request #2771 from astaxie/develop
v1.9.0
Permalink
Failed to load latest commit information.
.github update issue template Mar 23, 2016
cache fix cache/memory fatal error: concurrent map iteration and map write Jun 15, 2017
config remove the comments Jul 4, 2017
context supported gzip for req.Header has `Content-Encoding: gzip` Jul 10, 2017
grace gofmt and golint Jul 18, 2017
httplib fix misspell Apr 28, 2017
logs Merge branch 'master' of https://github.com/jialijelly/beego Jun 27, 2017
migration gofmt and golint Jul 18, 2017
orm oracle插入占位符 Jul 9, 2017
plugins Fix the new repo address for casbin. May 19, 2017
session hotfix: err nil May 2, 2017
swagger add support for global security May 14, 2017
testing golint testing Sep 12, 2015
toolbox gofmt simplify Apr 20, 2017
utils fix misspell Apr 28, 2017
validation gofmt and golint Jul 18, 2017
.gitignore ignore .vscode folder Dec 29, 2016
.gosimpleignore add go simple support Mar 17, 2017
.travis.yml Fix the new repo address for casbin. May 19, 2017
CONTRIBUTING.md add CONTRIBUTING.md Jan 13, 2016
LICENSE update all files License May 16, 2014
README.md Merge branch 'develop' into patch-1 Apr 2, 2017
admin.go updated sample for FilterMonitorFunc Jul 12, 2017
admin_test.go Forgot to fix it here Oct 11, 2016
adminui.go fix #1877 Sep 13, 2016
app.go Fix example for Hander func Mar 30, 2017
beego.go v1.9.0 Jul 18, 2017
config.go add unconverted support Mar 17, 2017
config_test.go go fmt Jun 1, 2016
controller.go gofmt and golint Jul 18, 2017
controller_test.go gofmt simplify Apr 20, 2017
doc.go fix typo Jan 17, 2016
error.go issue no:#2261 fix for xsrf panic error May 19, 2017
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
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 Merge pull request #2766 from yangsf5/master Jul 17, 2017
policy.go golint Apr 29, 2017
router.go fix issue for runMethod and runRouter from context Jul 18, 2017
router_test.go Fixes #2587 Apr 23, 2017
staticfile.go Fixes #2587 Apr 23, 2017
staticfile_test.go Fix formatting with gofmt Mar 11, 2016
template.go golint Apr 29, 2017
template_test.go golint Apr 29, 2017
templatefunc.go Support timeformat "2006-01-02T15:04:05" May 19, 2017
templatefunc_test.go fix ineffectual Apr 28, 2017
tree.go fix routing bug for splat Mar 10, 2017
tree_test.go fix routing bug for splat Mar 10, 2017

README.md

Beego Build Status GoDoc Foundation

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.

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