mirror of
https://github.com/astaxie/beego.git
synced 2024-12-27 15:05:47 +00:00
beego mirror
127b85bcaa
// 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"} |
||
---|---|---|
cache | ||
config | ||
context | ||
example | ||
httplib | ||
logs | ||
middleware | ||
orm | ||
plugins/auth | ||
session | ||
testing | ||
toolbox | ||
utils | ||
validation | ||
.gitignore | ||
admin.go | ||
app.go | ||
beego.go | ||
config_test.go | ||
config.go | ||
controller.go | ||
filter.go | ||
fiter_test.go | ||
flash_test.go | ||
flash.go | ||
log.go | ||
memzipfile.go | ||
mime.go | ||
README.md | ||
reload.go | ||
router_test.go | ||
router.go | ||
staticfile.go | ||
template_test.go | ||
template.go | ||
templatefunc_test.go | ||
templatefunc.go |
beego
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
LICENSE
beego is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).
[][koding] [koding]: https://koding.com/Teamwork?import=https://github.com/astaxie/beego/archive/master.zip&c=git1