beego mirror
Go to file
astaxie 1b6edafc96
Merge pull request #3412 from astaxie/develop
v1.11.1
2018-11-30 21:54:26 +08:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache Update memory.go 2018-11-13 14:43:23 +08:00
config Read over 4096 length values 2018-08-17 11:40:00 +08:00
context Add .Elapsed in context.ResponseWriter for monitor purpose 2018-11-19 16:38:14 +08:00
grace fix golint comments 2017-11-25 19:18:37 +02:00
httplib Update httplib_test.go 2018-11-12 13:04:17 +08:00
logs edit test case 2018-07-26 15:08:14 +08:00
migration Update: Fix migration generate SQL 2018-01-04 10:42:39 +08:00
orm add different column name parse strategy 2018-11-20 22:47:56 +08:00
plugins Fix the new repo address for casbin. 2017-05-19 22:19:31 +08:00
session Merge pull request #3317 from HSoshiant/master 2018-11-14 19:24:23 +08:00
swagger Swagger: 2018-03-10 17:15:24 +08:00
testdata feat(Template): testing fs bindata 2018-11-05 22:58:59 +06:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox Merge pull request #3387 from wuyumin/master 2018-11-13 14:51:41 +08:00
utils breaks rely on TestNewBeeMap 2018-08-01 10:24:39 +08:00
validation fix typo 2018-07-17 23:32:11 +08:00
vendor update vendor & module 2018-11-28 16:05:15 +08:00
.gitignore ignore .vscode folder 2016-12-29 22:30:56 +01:00
.gosimpleignore add go simple support 2017-03-17 20:22:20 +02:00
.travis.yml Merge pull request #3420 from xpzouying/format_list_travis_yml 2018-11-30 16:57:25 +08:00
CONTRIBUTING.md add CONTRIBUTING.md 2016-01-13 22:02:36 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
README.md Added link to ranking 2018-09-24 18:33:56 +02:00
admin.go better format 2018-11-26 23:19:05 +08:00
admin_test.go Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
adminui.go fix #1877 2016-09-13 22:43:40 +08:00
app.go Autocert ok 2018-07-20 19:54:25 +02:00
beego.go v1.11.1 2018-11-22 13:10:52 +08:00
config.go AutoCert 2018-07-20 18:53:57 +02:00
config_test.go Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
controller.go fix the comments update 2018-11-09 17:54:20 +08:00
controller_test.go gofmt simplify 2017-04-20 10:56:09 +08:00
doc.go fix typo 2016-01-17 23:48:17 +08:00
error.go Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
error_test.go fix the gosimple 2017-07-19 00:37:42 +08:00
filter.go adds ability to reset params after a filter runs 2016-08-07 07:44:30 -07:00
filter_test.go change to logs 2016-03-25 10:31:48 +08:00
flash.go typo fixed 2016-01-15 14:07:37 +08:00
flash_test.go add go simple support 2017-03-17 20:22:20 +02:00
fs.go refactor(FileSystem): add comments function 2018-11-10 12:34:53 +06:00
go.mod update vendor & module 2018-11-28 16:05:15 +08:00
go.sum update vendor & module 2018-11-28 16:05:15 +08:00
hooks.go better format 2018-11-26 23:19:05 +08:00
log.go remove from init method 2016-03-25 15:04:52 +08:00
mime.go fix the typo 2016-08-17 22:56:21 +08:00
namespace.go Fixes #2587 2017-04-23 19:19:05 +02:00
namespace_test.go add go simple support 2017-03-17 20:22:20 +02:00
parser.go Add annotated filter, support @Import, @Filter. 2018-09-07 15:59:57 +08:00
policy.go golint 2017-04-29 09:13:28 +08:00
router.go better format 2018-11-26 23:19:05 +08:00
router_test.go Test YAML 2018-05-31 13:35:23 +02:00
staticfile.go fix / can use dynamic directory 2018-10-01 15:16:35 +08:00
staticfile_test.go Fix Unexpected EOF bug in staticfile 2018-05-07 13:51:05 +05:30
template.go Merge pull request #3419 from xpzouying/close_fs_when_is_not_nil 2018-11-30 16:57:49 +08:00
template_test.go feat(Template): use interface http.FileSystem 2018-11-06 20:06:21 +06:00
templatefunc.go Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
templatefunc_test.go Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
tree.go comment edit 2017-08-03 19:15:32 +08:00
tree_test.go fix routing bug for splat 2017-03-10 09:28:25 +08:00
unregroute_test.go fix golint comments 2017-11-25 19:18:37 +02:00

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