1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-26 11:50:49 +00:00
beego mirror
Go to file
Kyle McCullough 190039b6f8 Add a ReadOrCreate method:
m := &User{Name: "Kyle"}
// Returns a boolean indicating whether the object was created,
// the primary key of the object, or an error.
created, id, err := orm.ReadOrCreate(m, "Name")
2014-01-22 09:15:21 -06:00
cache Merge pull request #468 from cloudaice/patch-1 2014-01-16 17:28:13 -08:00
config add Strings interface can return []string sep by ; 2014-01-15 17:19:03 +08:00
context fix code with no need line 2013-12-26 00:44:49 +08:00
example fix #413 2013-12-30 22:51:54 +08:00
httplib add comments for httplib package. 2013-12-27 17:11:39 +08:00
logs diffrent level logs display diffrent color 2014-01-21 18:00:17 +08:00
middleware add comments for middleware packages, fix typo error 2014-01-17 16:03:01 +08:00
orm Add a ReadOrCreate method: 2014-01-22 09:15:21 -06:00
session Update SessionExist to close the db connection 2014-01-14 19:54:32 +08:00
testing fix #277 2013-11-06 16:51:33 +08:00
toolbox add listconf fix #351 2013-12-15 21:22:50 +08:00
utils add readme for captcha, and enhanced performance 2014-01-17 12:07:30 +08:00
validation fix MinSize / MaxSize / Length should use Rune Count 2013-10-16 22:49:06 +08:00
.gitignore add git ignore file 2013-06-01 13:31:14 +08:00
admin.go fix typo healthcheck url 2013-12-29 11:01:19 +08:00
app.go add AutoRouterWithPrefix 2014-01-01 17:57:57 +08:00
beego.go add comments for middleware packages, fix typo error 2014-01-17 16:03:01 +08:00
config.go add a empty fake config Initialize AppConfig to avoid nil pointer runtime error. 2014-01-11 14:28:11 +08:00
controller.go add captcha util 2014-01-16 20:53:35 +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.go add api comments in file config.go, controller.go, filter.go and flash.go 2013-12-20 21:16:26 +08:00
log.go convert to unix eol 2013-12-23 11:46:11 +08:00
memzipfile.go gmfim add lock. fix #445 2014-01-05 23:16:47 +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 add api comments in file memzipfile.go,reload.go,router.go,template.go and templatefunc.go, fix spelling error GetInitListner as GetInitListener. 2013-12-21 13:19:24 +08:00
router_test.go add AutoRouterWithPrefix 2014-01-01 17:57:57 +08:00
router.go fix SessionRegenerateID should release old SessionStore and release new SessionStore in router.go 2014-01-11 17:01:33 +08:00
template_test.go fix #260 2013-10-30 23:02:53 +08:00
template.go fix comments typo in beego package/ 2013-12-22 15:09:33 +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