1
0
mirror of https://github.com/beego/bee.git synced 2024-06-26 15:24:12 +00:00
Commit Graph

413 Commits

Author SHA1 Message Date
kyle
41cfd66d87 Fix bug of 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-06 10:00:14 +08:00
kyle
8daa426d2e 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-06 09:55:03 +08:00
kyle
69a530c011 Fix bug of 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
2015-12-31 10:07:38 +08:00
astaxie
fa5d72e565 Merge pull request #144 from yanyiwu/patch-1
Fix bug about issue #143
2015-12-11 00:33:34 +08:00
Yanyi Wu
69c2bb9058 Fix bug about issue #143 2015-11-27 11:42:14 +08:00
astaxie
583f7f0969 Merge pull request #142 from FarYoung/patch-2
add post and put json invalid fomart filter
2015-11-26 08:09:47 +08:00
FarYoung
f2bbe62bce add post and put json invalid fomart filter 2015-11-25 22:24:10 +08:00
astaxie
e2ee2a8a79 update the status cide 2015-10-16 23:44:11 +08:00
astaxie
f11cad19ec Merge pull request #124 from pjoe/generate-fixes
Generate fixes for model and controller
2015-07-17 01:49:08 +08:00
Pelle Johnsen
f385056264 Generate fixes for model and controller
- use int64 for all places handling model id
- use controller code from appcode if a matching model is found
2015-07-16 19:36:02 +02:00
astaxie
f74078b69f Merge pull request #122 from simpleton/bug/docs
make docs works when EnableDocs = false
2015-07-02 21:37:19 +08:00
simsun
f50dce1d52 make docs works when EnableDocs = false 2015-07-01 23:55:13 +08:00
astaxie
6c98bdfbbc Merge pull request #121 from lei-cao/master
Issue-119: flags for excluding Godeps.
2015-06-17 15:32:00 +08:00
Lei Cao
60e4f1b872 Issue-119: flags for excluding Godeps. 2015-06-17 14:59:59 +08:00
astaxie
0c2ed7a9a4 Merge pull request #120 from sacheendra/master
add jsonb and timestamp with time zone to postgres data types
2015-06-10 12:37:56 +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
fadb5d2af9 Merge pull request #117 from westonplatter/master
migrate. allow postgres migrations to run.
2015-05-21 15:58:25 +08:00
Weston Platter
21b91413e8 migrate. allow postgres migrations to run. 2015-05-21 00:18:04 -06:00
astaxie
425e86f0bb Merge pull request #116 from westonplatter/master
migrate. print out error message.
2015-05-20 12:52:21 +08:00
Weston Platter
50ce2204ce migrate. changed docs to reference PostgreSQL driver as "postgres"
instead of "postgresql"
2015-05-19 22:50:13 -06:00
Weston Platter
9f829a1da2 migrate. print out error message. 2015-05-19 22:41:13 -06:00
astaxie
3c56a5feaf fix the build 2015-05-14 21:23:11 +08:00
astaxie
146c3b9655 Merge pull request #114 from lei-cao/master
Using local package name for renamed packages.
2015-05-14 17:55:28 +08:00
astaxie
4cecebb2bb Merge pull request #113 from shinriyo/patch-1
ERROR message is strange
2015-05-14 17:49:58 +08:00
Lei Cao
a1fe5bf010 Using local package name for renamed packages. 2015-05-14 15:56:19 +08:00
shinriyo
361eb4d235 ERROR message is strange
Web cant't create directory "$GOPATH"
$GOPATH/src is correct
2015-05-14 14:36:46 +09:00
astaxie
e23253bc23 fix #99 2015-05-09 18:20:08 +08:00
astaxie
ad453bb3e0 fix #107 2015-05-09 15:31:55 +08:00
astaxie
1aa857a9ea change the version to 1.3.0 2015-05-09 15:07:26 +08:00
astaxie
d5ba3ff52f Merge pull request #73 from Lao-liu/master
自动生成基于数据库的Hprose发布服务。
2015-05-09 15:00:21 +08:00
astaxie
fb17bcd4d5 Merge pull request #106 from 0x0001/master
new和api命令支持符号链接目录
2015-05-09 14:48:39 +08:00
astaxie
9530a63356 Merge pull request #84 from hilyjiang/master
Wait 1s before autobuild util there is no file change.
2015-05-09 14:45:47 +08:00
astaxie
52d6031795 Merge pull request #75 from jmsegrev/master
Fix for api docs generate bug
2015-05-09 14:41:37 +08:00
astaxie
59e10cc2c7 Merge pull request #109 from Frylock13/patch-1
Update g_controllers.go
2015-04-26 15:09:17 +08:00
Vitaly A
43ef051a29 Update g_controllers.go 2015-04-26 05:26:26 +03:00
0x0001
d7f56900c1 new和api命令支持符号链接目录 2015-04-16 11:57:20 +08:00
astaxie
73874efe19 Merge pull request #104 from kyle-wang/master
fix error msg when use command "bee api" bug missing the Argument
2015-03-06 17:29:53 +08:00
kyle
d475828acf fix error msg when use command "bee api" bug missing the Argument 2015-03-06 16:07:52 +08:00
astaxie
926ef73108 Merge pull request #103 from leitwolf/master
add tableName to model file
2015-03-04 12:34:07 +08:00
lonewolf
d70e2c2a2b add tableName to model file 2015-03-03 23:35:46 +08:00
astaxie
7f313ac0eb Merge pull request #101 from nishantmodak/patch-1
Syntax Fix for example usage
2015-02-23 21:56:32 +08:00
Nishant Modak
91d614c148 Syntax Fix for example usage
syntax fix for argument passing
2015-02-23 14:42:20 +05:30
astaxie
27fecfbe75 support ignore struct not show 2015-01-03 21:17:59 +08:00
astaxie
2e408fa881 Merge pull request #91 from areski/pr-fix-misc
Improve bee command lines
2014-12-19 10:46:40 +08:00
areski
6b85a2c475 Improve bee command lines
Clean and improve some of the command option descriptions
2014-12-18 17:19:34 +01:00
astaxie
c9e5e98b4a Merge pull request #90 from areski/pr-fix-gitignore
fix gitignore for golang
2014-12-18 23:53:44 +08:00
areski
3c6b3884d7 fix gitignore for golang 2014-12-18 15:42:12 +01:00
astaxie
f00aeaed36 Merge pull request #89 from tossp/go14
go1.4源码目录变更
2014-12-15 17:49:26 +08:00
TossPig
5e39150996 go1.4源码目录变更 2014-12-15 15:13:53 +08:00
astaxie
e147e3b132 Merge pull request #87 from turingou/master
Update default scaffold landing page
2014-12-04 15:33:50 +08:00