1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 22:00:49 +00:00
beego mirror
Go to file
2018-07-20 15:32:42 +08:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache Merge pull request #3100 from godcong/master 2018-04-20 19:40:30 +08:00
config Merge pull request #3127 from kaka89/master 2018-05-03 14:07:59 +08:00
context Merge pull request #3171 from whomm/master 2018-06-23 22:50:11 +08:00
grace fix golint comments 2017-11-25 19:18:37 +02:00
httplib Fix: correct MaxIdleConnsPerHost value to net/http default 100. 2018-07-05 19:15:42 +08:00
logs Merge pull request #3105 from ckahi/hotfix_log_dir 2018-07-20 15:32:42 +08:00
migration Update: Fix migration generate SQL 2018-01-04 10:42:39 +08:00
orm send ErrNoRows if the query returns zero rows ... in method orm_queryset.All() 2018-07-19 18:51:16 +05:30
plugins Fix the new repo address for casbin. 2017-05-19 22:19:31 +08:00
session add session redis IdleTimeout config 2018-07-12 10:48:50 +08:00
swagger Swagger: 2018-03-10 17:15:24 +08:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox Revert "should use time.Since instead of time.Now().Sub" 2017-09-09 06:29:38 +08:00
utils test: Improve test case for utils/safemap, make it 100% cover 2017-12-01 01:04:15 +08:00
validation fix typo 2018-07-17 23:32:11 +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 add miss dep 2018-07-20 12:14:27 +08:00
admin_test.go log errors in access log and make static request logging optional 2018-04-28 20:03:39 +02:00
admin.go updated sample for FilterMonitorFunc 2017-07-12 09:51:37 -05:00
adminui.go fix #1877 2016-09-13 22:43:40 +08:00
app.go Merge pull request #3206 from whilei/gofmt-2018-Jun-17-00-39 2018-06-23 22:38:07 +08:00
beego.go beego 1.9.2 2017-11-27 15:52:31 +08:00
config_test.go go fmt 2016-06-01 19:57:08 +08:00
config.go Merge pull request #3141 from gadelkareem/patch-2 2018-07-20 15:20:15 +08:00
CONTRIBUTING.md add CONTRIBUTING.md 2016-01-13 22:02:36 +08:00
controller_test.go gofmt simplify 2017-04-20 10:56:09 +08:00
controller.go Merge pull request #3141 from gadelkareem/patch-2 2018-07-20 15:20:15 +08:00
doc.go fix typo 2016-01-17 23:48:17 +08:00
error_test.go fix the gosimple 2017-07-19 00:37:42 +08:00
error.go Merge pull request #3141 from gadelkareem/patch-2 2018-07-20 15:20:15 +08:00
filter_test.go change to logs 2016-03-25 10:31:48 +08:00
filter.go adds ability to reset params after a filter runs 2016-08-07 07:44:30 -07:00
flash_test.go add go simple support 2017-03-17 20:22:20 +02:00
flash.go typo fixed 2016-01-15 14:07:37 +08:00
hooks.go Merge pull request #2315 from sch00lb0y/master 2017-05-19 18:50:56 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +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_test.go add go simple support 2017-03-17 20:22:20 +02:00
namespace.go Fixes #2587 2017-04-23 19:19:05 +02:00
parser.go fix: When multiply comment routers on one func, only generates the last one controller 2018-06-28 15:54:17 +08:00
policy.go golint 2017-04-29 09:13:28 +08:00
README.md add report card to readme.md 2017-11-25 19:23:46 +02:00
router_test.go Fixes #2587 2017-04-23 19:19:05 +02:00
router.go Merge pull request #3141 from gadelkareem/patch-2 2018-07-20 15:20:15 +08:00
staticfile_test.go Fix Unexpected EOF bug in staticfile 2018-05-07 13:51:05 +05:30
staticfile.go Fix Unexpected EOF bug in staticfile 2018-05-07 13:51:05 +05:30
template_test.go golint 2017-04-29 09:13:28 +08:00
template.go Update template.go 2018-04-20 19:42:50 +09:00
templatefunc_test.go fix test case 2018-07-20 14:26:43 +08:00
templatefunc.go Update: Htmlquote Htmlunquote 2018-06-13 15:43:01 +08:00
tree_test.go fix routing bug for splat 2017-03-10 09:28:25 +08:00
tree.go comment edit 2017-08-03 19:15:32 +08:00
unregroute_test.go fix golint comments 2017-11-25 19:18:37 +02:00

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