1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-01 10:23:27 +00:00
beego mirror
Go to file
astaxie 54b92e9599 context:add Bind function
// Bind data from request.Form[key] to dest
// like
/?id=123&isok=true&ft=1.2&ol[0]=1&ol[1]=2&ul[]=str&ul[]=array&user.Name=
astaxie
// var id int  beegoInput.Bind(&id, "id")  id ==123
// var isok bool  beegoInput.Bind(&isok, "isok")  id ==true
// var ft float64  beegoInput.Bind(&ft, "ft")  ft ==1.2
// ol := make([]int, 0, 2)  beegoInput.Bind(&ol, "ol")  ol ==[1 2]
// ul := make([]string, 0, 2)  beegoInput.Bind(&ul, "ul")  ul ==[str
array]
// user struct{Name}  beegoInput.Bind(&user, "user")  user ==
{Name:"astaxie"}
2014-05-17 02:26:50 +08:00
cache update the error message 2014-05-17 02:26:49 +08:00
config beego: move dependency module to sub package 2014-04-03 23:41:48 +08:00
context context:add Bind function 2014-05-17 02:26:50 +08:00
example fix #413 2013-12-30 22:51:54 +08:00
httplib httplib support set transport and proxy 2014-03-12 15:56:04 +08:00
logs fix go run hello.go & console log 2014-04-04 09:49:57 +08:00
middleware Update error.go 2014-02-10 12:55:53 +08:00
orm allow unexported fields on model structs 2014-05-17 02:26:49 +08:00
plugins/auth Fix basic auth plugin example. 2014-03-12 15:56:05 +08:00
session make Maxage work 2014-05-17 02:26:49 +08:00
testing add comments for testing, utils and validation packages 2014-02-07 16:07:31 +08:00
toolbox toolbox: modify the godocs 2014-04-06 01:05:20 +08:00
utils fix captcha urlPrefix 2014-03-12 15:56:04 +08:00
validation bug fixed 2014-03-14 14:47:52 +08:00
.gitignore added FlashName,FlashSeperator, & Tests 2014-03-13 22:34:22 -07:00
admin.go beego: BeeAdminApp private 2014-04-06 01:02:10 +08:00
app.go Update app.go 2014-05-13 17:19:50 +02:00
beego.go beego: release new version 1.1.4 2014-04-08 17:45:57 +08:00
config_test.go added FlashName,FlashSeperator, & Tests 2014-03-13 22:34:22 -07:00
config.go beego: filter the static file's url 2014-04-07 14:20:30 +08:00
controller.go beego:query data from Form & params 2014-04-10 22:21:08 +08:00
filter.go 1. :all param default expr change from (.+) to (.*) 2013-12-30 15:06:51 +08:00
fiter_test.go 1. :all param default expr change from (.+) to (.*) 2013-12-30 15:06:51 +08:00
flash_test.go added FlashName,FlashSeperator, & Tests 2014-03-13 22:34:22 -07:00
flash.go beego: fix flash errors 2014-04-10 18:16:08 +08:00
log.go beego: setLogger return error 2014-04-02 23:45:44 +08:00
memzipfile.go beego: move staticServer to New file 2014-04-06 00:18:21 +08:00
mime.go move initmime from beego.Run to hookfunc 2013-12-31 00:34:47 +08:00
README.md add coding 2014-01-15 09:40:33 +08:00
reload.go beego: fix the godoc 2014-04-06 00:53:18 +08:00
router_test.go add AutoRouterWithPrefix 2014-01-01 17:57:57 +08:00
router.go beego: support not-empty value in router fix #555 2014-05-17 02:26:50 +08:00
staticfile.go beego: fixed serious Directory Traversal 2014-04-08 17:43:25 +08:00
template_test.go fix #260 2013-10-30 23:02:53 +08:00
template.go modify the template file 2014-03-27 08:49:57 +08:00
templatefunc_test.go move utils to utils libs & func move to templatefunc 2013-12-12 22:25:08 +08:00
templatefunc.go fix comments typo in beego package/ 2013-12-22 15:09:33 +08:00

beego

Build Status

beego is a Go Framework inspired by tornado and sinatra.

It is a simple & powerful web framework.

More info beego.me

Features

  • RESTful support
  • MVC architecture
  • Session support (store in memory, file, Redis or MySQL)
  • Cache support (store in memory, Redis or Memcache)
  • Global Config
  • Intelligent routing
  • Thread-safe map
  • Friendly displaying of errors
  • Useful template functions

Documentation

English

API

中文文档

LICENSE

beego is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

[Clone in Koding][koding] [koding]: https://koding.com/Teamwork?import=https://github.com/astaxie/beego/archive/master.zip&c=git1