beego is an open-source, high-performance web framework for the Go programming language.
Go
Clone or download
astaxie Merge pull request #3230 from Colstuwjx/fix/correct-httplib-maxidleco…
…nnection-default-value

Fix: correct MaxIdleConnsPerHost value to net/http default 100.
Latest commit 08c3ca6 Jul 8, 2018
Permalink
Failed to load latest commit information.
.github update issue template Mar 23, 2016
cache Merge pull request #2659 from ansiz/master Nov 19, 2017
config remove the comments Jul 4, 2017
context Merge branch 'master' into develop Oct 14, 2017
grace fix golint comments Nov 25, 2017
httplib Fix: correct MaxIdleConnsPerHost value to net/http default 100. Jul 5, 2018
logs fix golint comments Nov 25, 2017
migration Merge branch 'master' into master Oct 17, 2017
orm orm: 修复logic enum因为type enum改变而产生的位错位。 Nov 30, 2017
plugins Fix the new repo address for casbin. May 19, 2017
session Merge pull request #2961 from zhlicen/master Dec 6, 2017
swagger add Enum field to Schema Nov 13, 2017
testing golint testing Sep 12, 2015
toolbox Revert "should use time.Since instead of time.Now().Sub" Sep 8, 2017
utils test: Improve test case for utils/safemap, make it 100% cover Nov 30, 2017
validation fix golint comments Nov 25, 2017
.gitignore ignore .vscode folder Dec 29, 2016
.gosimpleignore add go simple support Mar 17, 2017
.travis.yml remove mysq travis Nov 27, 2017
CONTRIBUTING.md add CONTRIBUTING.md Jan 13, 2016
LICENSE update all files License May 16, 2014
README.md add report card to readme.md Nov 25, 2017
admin.go updated sample for FilterMonitorFunc Jul 12, 2017
admin_test.go Add JSON or Apache access log formatting option to config: AccessLogs… Sep 13, 2017
adminui.go fix #1877 Sep 13, 2016
app.go Change HTTPMETHOD type Nov 29, 2017
beego.go beego 1.9.2 Nov 27, 2017
config.go set default to apache format Nov 19, 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 fix typo Oct 11, 2017
policy.go golint Apr 29, 2017
router.go fix bug Dec 13, 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 fix golint comments Nov 25, 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 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.

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