beego mirror
Go to file
Ondrej Fabry a9941b6edc Merge branch 'develop' into patch-1 2017-04-02 13:46:06 +02:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache Merge branch 'develop' into add-gosimple 2017-03-18 11:20:30 +08:00
config add go simple support 2017-03-17 20:22:20 +02:00
context Fix set cookie bug, zero max age is not valid. 2017-03-21 09:15:30 +08:00
grace add go simple support 2017-03-17 20:22:20 +02:00
httplib add go simple support 2017-03-17 20:22:20 +02:00
logs console debug use diffrent color 2017-03-21 23:55:40 +08:00
migration bee fix 2016-03-25 10:56:15 +08:00
orm Merge pull request #2536 from ChristophPech/master 2017-03-29 09:53:55 +08:00
plugins 1.simplify reading and writing file code 2017-02-10 09:35:23 +08:00
session Merge pull request #2533 from cnxh/redis-session-poolsize 2017-03-29 10:00:28 +08:00
swagger swagger: add 'Default' for Parameter 2016-11-03 22:59:23 +08:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox statistics lock 2016-12-06 14:57:15 +08:00
utils add unconverted support 2017-03-17 19:45:30 +02:00
validation add go simple support 2017-03-17 20:22:20 +02: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 branch 'develop' into add-gosimple 2017-03-18 11:20:30 +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 Merge branch 'develop' into patch-1 2017-04-02 13:46:06 +02:00
admin.go add go simple support 2017-03-17 20:22:20 +02:00
admin_test.go Forgot to fix it here 2016-10-11 11:06:22 -05:00
adminui.go fix #1877 2016-09-13 22:43:40 +08:00
app.go Print complete URL after running 2016-06-01 20:18:11 +08:00
beego.go update to 1.8.1 2017-03-29 10:22:27 +08:00
config.go add unconverted support 2017-03-17 19:45:30 +02:00
config_test.go go fmt 2016-06-01 19:57:08 +08:00
controller.go add go simple support 2017-03-17 20:22:20 +02:00
controller_test.go support for multiple view paths 2017-02-07 22:18:33 +02:00
doc.go fix typo 2016-01-17 23:48:17 +08:00
error.go fix #2126 2016-08-30 21:00:27 +08:00
error_test.go golink: map range only key stlye 2016-03-27 15:07:51 +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 Don't allow AddViewPath after beego run 2017-02-11 22:00:30 +02: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 make router fast 2016-03-15 11:49:23 +08:00
namespace_test.go add go simple support 2017-03-17 20:22:20 +02:00
parser.go fix a spelling mistake 2016-09-21 19:33:12 +08:00
policy.go policies implementation 2016-09-28 21:21:07 +03:00
router.go Add http methods 2017-02-10 17:45:47 +09:00
router_test.go add go simple support 2017-03-17 20:22:20 +02:00
staticfile.go add go simple support 2017-03-17 20:22:20 +02:00
staticfile_test.go go fmt 2016-02-12 11:36:59 +08:00
template.go add go simple support 2017-03-17 20:22:20 +02:00
template_test.go support for multiple view paths 2017-02-07 22:18:33 +02:00
templatefunc.go Merge pull request #2466 from gouyang/gouyang/develop 2017-03-29 10:01:03 +08:00
templatefunc_test.go add go simple support 2017-03-17 20:22:20 +02:00
tree.go Revert "route variables should not have underline" 2016-08-29 13:42:40 +08:00
tree_test.go Revert "route variables should not have underline" 2016-08-29 13:42:40 +08: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).