1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 06:30:50 +00:00
beego mirror
Go to file
Maxim Sukharev 683e6856ef Add RouterPattern to context.Input
Right now beego adds this param only in dev mode, but I noticed that it's very useful to have in prod environment to.
My current use case - filter that sends logs in newrelic. Pattern there will help a lot to generate correct transaction name.
2016-10-28 10:44:16 +07:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache fix cache/memcache test 2016-08-30 23:24:30 +08:00
config fix the typo 2016-08-17 23:52:34 +08:00
context fix #2017 2016-09-15 20:04:45 +08:00
grace fix the go vet for go tip 2016-01-29 13:11:11 +08:00
httplib gofmt -s -w . 2016-08-17 22:49:30 +08:00
logs Add jianliao and slack log adapter 2016-09-08 17:21:11 +08:00
migration bee fix 2016-03-25 10:56:15 +08:00
orm add more comments 2016-09-22 23:17:41 +08:00
plugins RequestURI captures the signature field as well. 2016-09-04 11:36:17 +05:30
session session:output error 2016-09-11 21:02:11 +08:00
swagger improve Swagger 2016-09-15 00:15:02 +03:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox fix #1877 2016-09-13 22:43:40 +08:00
utils fix #2161 2016-09-15 11:11:34 +08:00
validation Implement Error interface for validation error 2016-05-05 19:26:03 +08:00
.gitignore update the gitignore 2015-08-31 11:58:11 +08:00
.travis.yml Using a different PostgreSQL Version 2016-04-11 23:12:35 +08:00
admin_test.go go fmt 2016-06-01 19:57:08 +08:00
admin.go list the config to map 2016-04-18 19:16:39 +08: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 change to 1.7.1 2016-09-22 23:18:22 +08:00
config_test.go go fmt 2016-06-01 19:57:08 +08:00
config.go Support custome recover func fix #2004 2016-09-15 12:16:24 +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 #2030 from saturn4er/feature/add_template_prefix_field 2016-08-02 09:54:01 +08:00
doc.go fix typo 2016-01-17 23:48:17 +08:00
error_test.go golink: map range only key stlye 2016-03-27 15:07:51 +08:00
error.go fix #2126 2016-08-30 21:00:27 +08:00
filter_test.go change to logs 2016-03-25 10:31:48 +08:00
filter.go adds ability to reset params after a filter runs 2016-08-07 07:44:30 -07: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 set session.managerconfig public 2016-08-13 21:07:27 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08: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_test.go gofmt test files 2016-04-05 15:38:42 +08:00
namespace.go make router fast 2016-03-15 11:49:23 +08:00
parser.go fix a spelling mistake 2016-09-21 19:33:12 +08:00
README.md Update README.md 2016-04-08 14:28:45 +08:00
router_test.go adds ability to reset params after a filter runs 2016-08-07 07:44:30 -07:00
router.go Add RouterPattern to context.Input 2016-10-28 10:44:16 +07:00
staticfile_test.go go fmt 2016-02-12 11:36:59 +08:00
staticfile.go fix #2142 2016-09-11 21:27:27 +08:00
template_test.go add template read lock when dev mode 2016-03-04 12:00:43 +08:00
template.go reflection 2016-07-28 11:56:55 +08:00
templatefunc_test.go update TestParseForm 2016-09-02 16:08:04 +08:00
templatefunc.go beego.ParseForm() improvement 2016-09-01 15:04:57 +08:00
tree_test.go Revert "route variables should not have underline" 2016-08-29 13:42:40 +08:00
tree.go Revert "route variables should not have underline" 2016-08-29 13:42:40 +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:8080. 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).