1
0
mirror of https://github.com/beego/bee.git synced 2024-11-01 05:00:55 +00:00
Commit Graph

956 Commits

Author SHA1 Message Date
ZhengYang
31b481d96a basic structure for generate migration files 2014-08-07 10:47:06 +08:00
astaxie
fce95fa18d Merge pull request #36 from ZhengYang/master
GetAll now supports: filter(query), fields, sortby, order, limit, offset
2014-08-06 10:55:53 +08:00
ZhengYang
f879d728c8 refactor reflection template for models 2014-08-06 10:49:26 +08:00
ZhengYang
6a7428b3aa when field list is empty, no need to reflect 2014-08-06 10:26:54 +08:00
ZhengYang
b057b16a80 trim unused fields in result json 2014-08-05 17:49:36 +08:00
ZhengYang
d02a552a59 fix doc format bug, use only 1 tab in between fields 2014-08-05 16:13:40 +08:00
ZhengYang
06f2e2cca9 allow dot notation in query field 2014-08-05 15:27:05 +08:00
ZhengYang
337bd38b73 minor cosmetic changes 2014-08-05 15:04:51 +08:00
ZhengYang
932e73a9a2 added doc for GetAll template 2014-08-05 14:53:27 +08:00
ZhengYang
7fa01c437c addAll now supports: filter(query), fields, sortby, order, limit, offset 2014-08-05 14:31:19 +08:00
astaxie
1daa1d1bae Merge pull request #35 from ZhengYang/master
GetAll methods added
2014-08-04 16:39:56 +08:00
ZhengYang
7a4d5f2798 do not exit while encouter a file that's already exist 2014-08-04 16:33:39 +08:00
ZhengYang
fc62745b4f remove defer close file 2014-08-04 16:08:46 +08:00
ZhengYang
39e7ce462d added get all for models and controllers 2014-08-04 15:46:46 +08:00
astaxie
f1105d499c Merge pull request #34 from ZhengYang/master
[Bug Fix] hard coding in router.go pkg import
2014-08-04 14:46:07 +08:00
ZhengYang
233613eb16 fix hard coding in router.go pkg import 2014-08-04 13:54:37 +08:00
astaxie
9608df56f0 Merge branch 'master' of https://github.com/beego/bee 2014-08-01 23:42:19 +08:00
astaxie
4305da2f3f fix analisys bug 2014-08-01 23:40:48 +08:00
astaxie
54346eb561 Merge pull request #32 from ZhengYang/master
[Bug Fix] Added os.O_EXCL flag to make sure existing files are NOT overwritten
2014-08-01 21:22:23 +08:00
ZhengYang
f20b75c370 uncomment example router namespace: object & user 2014-08-01 18:56:17 +08:00
ZhengYang
2f6b7fe0a1 added error message if generated file exists 2014-08-01 18:48:49 +08:00
ZhengYang
a161ff4755 rename function name for clarity 2014-08-01 18:38:32 +08:00
ZhengYang
4aa8bf8430 add header 2014-08-01 18:35:28 +08:00
ZhengYang
dd8754b848 change of file open options:os.O_CREATE|os.O_EXCL|os.O_RDWR 2014-08-01 18:29:27 +08:00
ZhengYang
30564d388a adding log information to show prograss 2014-08-01 18:07:38 +08:00
astaxie
556c535d98 Merge pull request #31 from ZhengYang/master
model code generator for MySQL
2014-08-01 17:46:56 +08:00
ZhengYang
348bc3edcb do not remove folders 2014-08-01 17:42:04 +08:00
ZhengYang
789132d622 help message updated to reflect current feature 2014-08-01 16:25:28 +08:00
ZhengYang
1d6736ab63 rename mvc to models to improve clarity 2014-08-01 16:06:10 +08:00
ZhengYang
5a2394d76a move generateCode.Run() to g.go 2014-08-01 16:04:09 +08:00
ZhengYang
6894c9bc55 update version number to 1.3 2014-08-01 16:01:04 +08:00
ZhengYang
8e56c8528f getting params from commandline and hook up the actual function 2014-08-01 15:52:25 +08:00
ZhengYang
0a22533e04 interface connected 2014-08-01 14:49:30 +08:00
ZhengYang
00893f8c0c help message format 2014-08-01 10:16:37 +08:00
ZhengYang
7eb6fa6a67 adding source code 2014-07-31 18:46:03 +08:00
astaxie
bedec1aea7 Merge pull request #29 from xuewuhen/master
Update test.go
2014-07-20 19:21:41 +08:00
xuewuhen
fff8754c82 Update test.go
line 97 	
ColorLog("[ERRO] %s", err) 缺少参数%s。
2014-07-20 18:03:12 +08:00
astaxie
ba0d690eac Merge pull request #26 from sandysong/master
修正Model循环引用导致generate死循环的问题
2014-07-07 18:22:02 +08:00
sandysong
9b8caf74be 修正Model循环引用导致generate死循环的问题 2014-07-07 18:06:02 +08:00
astaxie
47379b40a0 Merge pull request #23 from ljyf5593/master
fixed tests code cannot convert ".." to type rune
2014-06-24 17:47:15 +08:00
Liu Jie
777bf3e1ad fixed tests code cannot convert ".." to type rune
修正在使用bee生成的测试用例代码时,文件路径没有转换为字符串导致报错的问题
2014-06-24 17:01:31 +08:00
astaxie
ff63f454a7 update the new api application 2014-06-24 14:32:17 +08:00
astaxie
aa92fc4854 bee 1.1.2 2014-06-24 12:06:45 +08:00
astaxie
5493f00cd0 fix the typo 2014-06-23 23:16:06 +08:00
astaxie
763382e4ce update the filter for URL 2014-06-23 23:10:17 +08:00
astaxie
620f052d93 remove unused err 2014-06-23 23:03:10 +08:00
astaxie
82581a7c30 bee run auto download swagger & auto doc ten 2014-06-23 23:02:46 +08:00
astaxie
6181668e0a required description 2014-06-23 22:21:13 +08:00
astaxie
b13c2068a9 support tag beedoc to support required 2014-06-23 22:00:57 +08:00
astaxie
33eaf8c2b7 bee: update other type 2014-06-23 21:38:19 +08:00