1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 23:00:50 +00:00
beego mirror
Go to file
ysqi 86c7f1db9e Merge branch 'astaxie/develop' into environmentVar
# Conflicts:
#	config/fake.go
#	config/xml/xml_test.go
#	config/yaml/yaml_test.go
2016-03-10 19:57:16 +08:00
cache move time to the top 2016-03-08 14:44:37 +08:00
config Merge branch 'astaxie/develop' into environmentVar 2016-03-10 19:57:16 +08:00
context some typo fixed 2016-03-09 16:00:52 +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 some typo fixed 2016-03-09 16:00:52 +08:00
migration fix postgres syntax error during migration 2015-11-18 06:46:44 -06:00
orm orm: add inline struct test case 2016-03-08 22:24:38 +08:00
plugins Fix regression caused by commit ad65479 2016-01-26 23:27:26 +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 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 update some config name 2016-01-12 21:55:02 +08:00
beego.go rename AppConfigPath, AppConfigProvider to appConfigPath, appConfigProvider, make public to private 2016-01-27 16:43:01 +08:00
config_test.go typo fixed 2016-01-15 14:07:37 +08:00
config.go fix conflicts 2016-03-06 21:25:43 +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 fix #1585 2016-01-25 21:08:29 +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 golint happy 2015-09-08 21:41:38 +08:00
parser.go fix path issue 2016-01-24 00:18:16 +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 the net/http should set header first,the set http status code and then write the content 2016-02-24 14:14:16 +08:00
staticfile_test.go go fmt 2016-02-12 11:36:59 +08:00
staticfile.go static file map race bug fixed 2016-03-04 10:54:54 +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 #1595 2016-02-12 14:45:45 +08:00
tree.go fix #1595 2016-02-12 14:45:45 +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).