1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 23:10:49 +00:00
beego mirror
Go to file
nkbai 74ebcd28b2 grace init中的工作可以延后进行
实际上如果没有使用graceful启动,这些init的工作完全没用
当然其他模块也应该存在这样的工作,比如session中的sess_utils.go中的init工作
2015-11-30 16:15:35 +08:00
cache fix the conv test case 2015-09-18 12:11:48 +08:00
config golint config 2015-09-10 14:53:19 +08:00
context router.go Header 毫无用处 2015-11-26 14:56:39 +08:00
grace grace init中的工作可以延后进行 2015-11-30 16:15:35 +08:00
httplib golint httplib 2015-09-11 22:28:28 +08:00
logs file add the config for Perm 2015-09-18 12:12:02 +08:00
migration fix postgres syntax error during migration 2015-11-18 06:46:44 -06:00
orm Merge pull request #1381 from ADone/m2m_reverse_bug 2015-11-04 23:20:22 +08:00
plugins golint plugins 2015-09-12 22:03:45 +08:00
session remove the dead code 2015-09-17 23:47:26 +08:00
swagger golint swagger 2015-09-12 23:15:23 +08:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox golint toolbox 2015-09-12 23:28:24 +08:00
utils remove the dead code 2015-09-17 23:47:26 +08:00
validation fix #1385 2015-10-12 20:50:58 +08:00
.gitignore update the gitignore 2015-08-31 11:58:11 +08:00
admin.go Fixed typos 2015-11-03 23:43:34 +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 fix #1335 2015-11-05 00:19:09 +08:00
beego.go // beego.Run("localhost") 2015-09-19 05:53:28 +08:00
config_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
config.go Merge pull request #1376 from JessonChan/develop 2015-11-08 23:21:16 +08:00
controller_test.go changing my package namespace to astaxie 2014-09-03 19:47:09 -05:00
controller.go GetInt等函数稍微简化一下,这样看上去更合理一些 2015-11-25 23:39:26 +08:00
doc.go make golint happy 2015-09-08 21:41:38 +08:00
docs.go Revert "这种if型的初始化是有问题的" 2015-11-26 20:37:36 +08:00
error.go method name refactor 2015-09-18 17:59:28 +08:00
filter_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
filter.go make golint happy 2015-09-08 21:41:38 +08:00
flash_test.go make golint happy 2015-09-08 21:41:38 +08:00
flash.go beego: flash add success & Set 2014-09-23 23:54:38 +08:00
hooks.go error map refactor 2015-09-17 10:36:29 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
log.go make golint happy 2015-09-08 21:41:38 +08:00
memzipfile.go modified as astaxie reviews 2015-11-06 18:51:53 +08:00
mime.go make golint happy 2015-09-08 21:41:38 +08:00
namespace_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
namespace.go make golint happy 2015-09-08 21:41:38 +08:00
parser.go Merge branch 'develop' of github.com:dvwallin/beego into develop 2015-09-17 17:07:06 +02:00
README.md Fix #1269 extract documentation 2015-07-26 17:06:55 +00:00
router_test.go fix #1388 2015-10-12 21:26:18 +08:00
router.go router.go Header 毫无用处 2015-11-26 14:56:39 +08:00
staticfile.go windows下静态文件映射找不到问题, 2015-11-27 12:10:39 +08:00
template_test.go golint happy with template 2015-09-08 23:29:58 +08:00
template.go golint templatefunc 2015-09-08 23:41:41 +08:00
templatefunc_test.go golint templatefunc 2015-09-08 23:41:41 +08:00
templatefunc.go remove the dead code 2015-09-17 23:47:26 +08:00
tree_test.go Update tree_test.go 2015-09-06 12:17:16 +08:00
tree.go Merge pull request #1349 from ElvizLai/patch-4 2015-09-17 23:01:32 +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 is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).