1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-26 09:10:50 +00:00
beego mirror
Go to file
2016-03-17 19:40:29 +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 gzip method support 2016-03-17 19:40:29 +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 Merge pull request #1782 from JessonChan/some_wip 2016-03-14 14:47:29 +08:00
migration fix postgres syntax error during migration 2015-11-18 06:46:44 -06:00
orm orm: inline struct relate test case 2016-03-13 21:04:39 +08:00
plugins fix the misspell99 2016-03-11 12:14:18 +08:00
session add go1.6.0 and remove 1.3.3 2016-03-01 21:41:44 +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 Merge pull request #1761 from lcbluestorm/develop 2016-03-08 15:47:45 +08:00
admin.go rename AppConfigPath, AppConfigProvider to appConfigPath, appConfigProvider, make public to private 2016-01-27 16:43:01 +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 init gzip level 2016-03-17 19:09:38 +08:00
config_test.go typo fixed 2016-01-15 14:07:37 +08:00
config.go remove unused cache 2016-03-04 12:01:04 +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 Merge pull request #1719 from JessonChan/err_ctrler 2016-03-09 19:18:09 +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.go fix issue #1641 2016-02-01 22:40: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 init gzip level 2016-03-17 19:09:38 +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 add mis function NSHandler 2016-03-11 09:21:13 +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 #1782 from JessonChan/some_wip 2016-03-14 14:47:29 +08:00
staticfile_test.go Fix formatting with gofmt 2016-03-09 10:47:09 +02: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).