beego mirror
Go to file
astaxie a5dd5d161d
Merge pull request #2659 from ansiz/master
to close issue #1899(redis cache doubt)
2017-11-19 11:13:42 +08:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache Merge pull request #2659 from ansiz/master 2017-11-19 11:13:42 +08:00
config remove the comments 2017-07-04 11:03:49 +08:00
context Merge branch 'master' into develop 2017-10-14 17:53:40 +08:00
grace Merge pull request #2849 from iclinux/grace-patch 2017-11-19 11:09:13 +08:00
httplib add XMLBody method for httplib 2017-10-05 14:34:52 -05:00
logs Merge pull request #2863 from gadelkareem/develop 2017-11-19 11:05:12 +08:00
migration Merge branch 'master' into master 2017-10-17 04:30:59 -05:00
orm Update for MySQL timezone detection bug 2017-10-26 14:32:42 +02:00
plugins Fix the new repo address for casbin. 2017-05-19 22:19:31 +08:00
session Merge pull request #2896 from tinycedar/master 2017-10-17 21:22:27 +08:00
swagger add Enum field to Schema 2017-11-13 14:36:08 +08:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox gofmt simplify 2017-04-20 10:56:09 +08:00
utils fix misspell 2017-04-28 23:37:40 +08:00
validation validation: fix ErrorMap, added func AddError(key, message) 2017-09-06 16:49:21 +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 check if SetEscapeHTML exists instead of checking Go version 2017-09-13 22:14:41 +02: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 Merge branch 'develop' into patch-1 2017-04-02 13:46:06 +02:00
admin.go updated sample for FilterMonitorFunc 2017-07-12 09:51:37 -05:00
admin_test.go Add JSON or Apache access log formatting option to config: AccessLogsFormat = JSON_FORMAT or APACHE_FORMAT ref #2738 2017-09-13 02:03:46 +02:00
adminui.go fix #1877 2016-09-13 22:43:40 +08:00
app.go Merge pull request #2878 from silviucm/master 2017-11-19 10:41:40 +08:00
beego.go misc: fix typos 2017-10-17 17:27:03 +08:00
config.go set default to apache format 2017-11-19 11:07:57 +08:00
config_test.go go fmt 2016-06-01 19:57:08 +08:00
controller.go gofmt and golint 2017-07-19 00:52:27 +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 issue no:#2261 fix for xsrf panic error 2017-05-19 14:02:14 +05:30
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
hooks.go Merge pull request #2315 from sch00lb0y/master 2017-05-19 18:50:56 +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 fix typo 2017-10-11 14:35:31 +08:00
policy.go golint 2017-04-29 09:13:28 +08:00
router.go Merge pull request #2706 from fat4lix/bugfix 2017-11-19 11:12:48 +08:00
router_test.go Fixes #2587 2017-04-23 19:19:05 +02:00
staticfile.go Fixes #2587 2017-04-23 19:19:05 +02:00
staticfile_test.go go fmt 2016-02-12 11:36:59 +08:00
template.go return template build error 2017-09-02 17:55:26 +08:00
template_test.go golint 2017-04-29 09:13:28 +08:00
templatefunc.go Support timeformat "2006-01-02T15:04:05" 2017-05-19 09:22:27 +08:00
templatefunc_test.go fix ineffectual 2017-04-28 22:36:28 +08: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 Create test file for the route unregistering functionality 2017-10-28 14:49:41 -04:00

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