1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 20:00:55 +00:00
beego mirror
Go to file
2016-03-24 17:38:26 +08:00
cache move time to the top 2016-03-08 14:44:37 +08:00
config Fixed infinite loop in ini config adapter 2016-03-12 00:20:19 +01:00
context Merge pull request #1805 from JessonChan/abort_panic_bug 2016-03-23 10:22:32 +08:00
grace fix the go vet for go tip 2016-01-29 13:11:11 +08:00
httplib fix json extra newline 2016-03-08 17:04:14 +08:00
logs give each of the adapter a neme 2016-03-24 17:38:26 +08:00
migration fix postgres syntax error during migration 2015-11-18 06:46:44 -06:00
orm Merge pull request #1810 from miraclesu/fix/orm_miss_pk 2016-03-22 10:09:35 +08:00
plugins fix the misspell99 2016-03-11 12:14:18 +08:00
session remove comment 2016-03-01 13:39:36 +08:00
swagger gofmt -s 2016-01-17 23:57:07 +08:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox golint all the files 2016-01-18 00:18:21 +08:00
utils mv mime.QEncoding.Encode logic to mail 2016-01-26 20:50:03 +08:00
validation Update validators.go 2016-03-04 11:16:47 +08:00
.gitignore update the gitignore 2015-08-31 11:58:11 +08:00
.travis.yml update travis 2016-03-21 11:18:38 +08:00
admin.go make router fast 2016-03-15 11:49:23 +08:00
adminui.go beego task list update for task spec list and task run url error 2015-02-04 18:07:31 +08:00
app.go make the BeegoLogger a adapter of http server ErrorLog 2016-03-14 10:21:07 +08:00
beego.go Merge pull request #1794 from youngsterxyf/issue1789 2016-03-22 17:21:57 +08:00
config_test.go typo fixed 2016-01-15 14:07:37 +08:00
config.go Merge pull request #1794 from youngsterxyf/issue1789 2016-03-22 17:21:57 +08:00
CONTRIBUTING.md add CONTRIBUTING.md 2016-01-13 22:02:36 +08:00
controller_test.go refactor router 2015-12-16 23:11:03 +08:00
controller.go refactor of error response and fix err code bug 2016-03-17 09:46:34 +08:00
doc.go fix typo 2016-01-17 23:48:17 +08:00
docs.go simplify docs.go and error.go, use http.StatusText instead of string codes 2015-12-21 17:16:58 +08:00
error_test.go go fmt error_test.go 2016-03-22 18:32:14 +08:00
error.go refactor of error response and fix err code bug 2016-03-17 09:46:34 +08:00
filter_test.go refactor router 2015-12-16 23:11:03 +08:00
filter.go simplify filter.go hooks.go 2015-12-22 10:02:59 +08:00
flash_test.go make golint happy 2015-09-08 21:41:38 +08:00
flash.go typo fixed 2016-01-15 14:07:37 +08:00
hooks.go change the function args of init gzip method 2016-03-22 16:42:42 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
log.go fix the log carsh before init 2016-01-06 11:48:23 +08:00
mime.go make golint happy 2015-09-08 21:41:38 +08:00
namespace_test.go TplNames renamed TplName ,fix #1229,Remember modify bee tool. 2016-01-07 16:16:39 +08:00
namespace.go make router fast 2016-03-15 11:49:23 +08:00
parser.go update output information 2016-03-11 10:07:44 +08:00
README.md Added slack 2016-02-02 23:34:32 +08:00
router_test.go fix #1669 write empty body panic error 2016-02-12 11:27:59 +08:00
router.go Merge pull request #1805 from JessonChan/abort_panic_bug 2016-03-23 10:22:32 +08:00
staticfile_test.go go fmt 2016-02-12 11:36:59 +08:00
staticfile.go fix issue#1787: The cause is that if the url is /m,and we set beego.BConfig.WebConfig.DirectoryIndex = true, then it should redirect to /m/ 2016-03-13 21:39:26 +08:00
template_test.go add template read lock when dev mode 2016-03-04 12:00:43 +08:00
template.go improve the template reader function 2016-03-04 14:49:16 +08:00
templatefunc_test.go golint templatefunc 2015-09-08 23:41:41 +08:00
templatefunc.go golint all the files 2016-01-18 00:18:21 +08:00
tree_test.go fix static pattern match for leaf 2016-03-10 22:16:41 +08:00
tree.go gofmt -s -w 2016-03-11 13:00:58 +08:00

Beego

Build Status GoDoc

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

######Congratulations! You just built your first beego app. Open your browser and visit http://localhost:8000. 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).