1
0
mirror of https://github.com/beego/bee.git synced 2024-06-01 04:03:27 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
Faissal Elamraoui
deacdaa667 Fixes the filename and lineNo in debug log message 2016-11-14 18:05:34 +01:00
Faissal Elamraoui
cf7aef47f0 Implementing the new logging infrastructure
Moved logging to the new logging infrastructure by removing the use of
ColorLog() function. Added more documentation. Also fixed some typos in
comments and function names.
2016-11-13 15:14:48 +01:00
ZetaChow
0d0bea81bf 去掉offset(int64)赋0值,去掉query (map[...]...)定义,以符合Lint 2016-09-09 15:38:44 +08:00
ZetaChow
411aa43080 修改PUT和Get One 错误的注释 2016-09-09 15:27:36 +08:00
ZetaChow
ad34b7be2a 修改函数注释,以符合Lint规范 2016-09-09 15:20:59 +08:00
astaxie
88a60a59ae Merge pull request #229 from czm1989/develop
Develop
2016-08-19 01:26:36 +08:00
sunqida
cb064f68b7 兼容query中的日期、时间参数。如:query=xxTime.lt:2016-01-01T23:22:21+08:00 2016-08-18 23:25:20 +08:00
Faissal Elamraoui
f1787c5beb Reorganized imports 2016-08-01 17:50:02 +02:00
Faissal Elamraoui
338dfc65ed New tweaks
Added enhanced logging while using bee to scaffold code
Fixed some typos and errors
Added more error handling
Added more docs
2016-07-31 23:30:35 +02:00
Sergey Lanzman
bc963e0070 go lint 2016-07-23 02:05:01 +03:00
chenzhiming
6835c5e551 Merge branch 'master' into develop
fix bug of new err
2016-07-21 10:04:59 +08:00
chenzhiming
acf35e9151 fix bug of newer error 2016-07-20 20:49:09 +08:00
Faissal Elamraoui
01e7ff3774 This fixes #201 2016-05-26 18:17:24 +02:00
Liut
6481a96ca4 allow any schema in PostgresDB;
如果选择 PostgreSQL,允许定制的 schema;
2016-03-11 23:39:17 +08:00
kyle
76fa75b8fc Fix bug that execute the cmd not in application catalog
2015/12/31 10:02:34 [INFO] Using matching model 'Post'
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
main.getPackagePath(0xc082005b60, 0xf, 0x0, 0x0)
E:/ossbuild/src/bee/g_appcode.go:988 +0x5f7
main.generateController(0xc0820022b0, 0x4, 0xc082005b60, 0xf)
E:/ossbuild/src/bee/g_controllers.go:52 +0xadc
main.generateScaffold(0xc0820022b0, 0x4, 0xc0821150c0, 0x16,
0xc082005b60, 0xf,
0xc082118040, 0x5, 0xc0821150e0, 0x1e)
E:/ossbuild/src/bee/g_scaffold.go:18 +0x2d7
main.generateCode(0xc0de40, 0xc08200c1b0, 0x3, 0x3, 0x0)
E:/ossbuild/src/bee/g.go:123 +0x16c9
main.main()
E:/ossbuild/src/bee/bee.go:114 +0x37d
2016-01-07 11:51:31 +08:00
astaxie
807c3de8a7 fix issue with new version 2016-01-06 11:55:56 +08:00
astaxie
20d77d9979 Merge branch 'master' into develop 2015-12-18 14:42:37 +08:00
FarYoung
f2bbe62bce add post and put json invalid fomart filter 2015-11-25 22:24:10 +08:00
fugr
dec41734bd ServeJson-->ServeJSON,update to match beego develop 2015-10-22 11:32:21 +08:00
astaxie
e2ee2a8a79 update the status cide 2015-10-16 23:44:11 +08:00
Sacheendra Talluri
47e8ce32d9 add jsonb and timestamp with time zone to postgres data types 2015-06-09 14:29:43 -05:00
astaxie
d5ba3ff52f Merge pull request #73 from Lao-liu/master
自动生成基于数据库的Hprose发布服务。
2015-05-09 15:00:21 +08:00
lonewolf
d70e2c2a2b add tableName to model file 2015-03-03 23:35:46 +08:00
astaxie
976602bc01 change this to short name 2014-11-05 22:48:09 +08:00
astaxie
930049f7de update the GetInt to GetInt64 2014-11-05 13:53:42 +08:00
Liujian
2e7cd9b414 1. remove unused typeMappingMysqlOfRpc type.
2. update README.md
2014-10-23 13:09:22 +08:00
Liujian
f75d8997ef 自动生成基于数据库的Hprose发布服务。 2014-10-14 21:30:32 +08:00
ZhengYang
1fd0e0860b support for json type 2014-09-05 10:03:21 +08:00
ZhengYang
1641f1edbd Merge remote-tracking branch 'upstream/master' 2014-09-04 10:54:43 +08:00
ZhengYang
9fd3e28cb6 added interval & uuid as string type for postgres 2014-09-04 10:53:29 +08:00
Carlos Salguero
f994d2f6cf Fix camel case fails if name starts with _ 2014-09-01 12:41:39 -03:00
ZhengYang
97ea34cc80 truncate before overwritten 2014-08-28 17:31:37 +08:00
ZhengYang
05882bb4f6 add time into temporal type 2014-08-28 17:11:56 +08:00
astaxie
5ec39d71ed add time type 2014-08-27 12:01:13 +08:00
astaxie
d0c36db1ca support tinyblob mediumblob 2014-08-27 11:41:31 +08:00
astaxie
b3674b5b06 support bit type 2014-08-27 11:08:32 +08:00
ZhengYang
8a2cb2ae1c minor fix 2014-08-22 16:04:07 +08:00
ZhengYang
b14868c908 code gen for postgres 2014-08-22 15:50:13 +08:00
ZhengYang
b9ff4255ff rename for clarity 2014-08-21 11:55:54 +08:00
ZhengYang
99b99321e9 added data type mapping for postgresql 2014-08-21 11:53:12 +08:00
ZhengYang
5c85c10b18 minor changes 2014-08-21 11:01:40 +08:00
ZhengYang
f2528fcf79 minor clean up 2014-08-21 10:54:21 +08:00
ZhengYang
4fe9c4ddcd refactor long if to switch case, more error messages 2014-08-21 10:45:52 +08:00
ZhengYang
9bf23ea88a help/error message correction and import lib/pq 2014-08-21 10:19:44 +08:00
ZhengYang
e42dc06fd8 add binary data type in mapping 2014-08-19 18:04:22 +08:00
ZhengYang
9e2699dbd6 minor fomatting 2014-08-19 17:47:29 +08:00
ZhengYang
82b7ab3e31 import package for no-pk models 2014-08-19 17:43:08 +08:00
ZhengYang
98b3d4ee37 do not rely on goimports 2014-08-19 17:00:37 +08:00
astaxie
9faf04fea0 add downsql & controller add mapping 2014-08-18 12:21:21 +08:00
astaxie
e3769549d1 update the write 2014-08-12 11:13:48 +08:00