Commit Graph

16 Commits

Author SHA1 Message Date
Ming Deng f2a93c8c75 using beego to rerwite all commands 2020-11-05 23:57:37 +08:00
qiantao 9433a7b66f 1. new,api,hprose 命令增加两个参数 [-module=true] [-beego=v1.12.1] 用于生成go module项目
2. generate,migrate命令不再打印GOPATH.
3. pack命令排除。
4. run命令支持传递ldflags参数
5. fix watch file bug.ignoredFilesRegExps数组对每个文件增加$,防止目录存在tmp的情况
6. getPackagePath函数被调用时如果找不到GOPATH,则看看工程有没有go.mod 有就当做go module项目处理。
7. .travis.yml检查时排除/pkg/mod/目录
2020-06-25 22:29:27 +08:00
Haojin Gui 7d78224b99 Remove redundant selectedTables.
When selectedTables is not nil, we are already generating tables
from it. So we don't need to pass it further.
2017-10-20 23:32:13 -07:00
astaxie d29f8e8ec3 Merge pull request #441 from hudangwei/develop
fix #440 only get these tables information in custom the option ‘-tab…
2017-07-19 00:30:54 +08:00
hudangwei 812b8c4e5b if tag.Comment is empty, the ORM tag string will not contain description 2017-05-30 19:43:40 +08:00
hudangwei f5471680e4 fix tag description,add tag description by getting database table information column comment 2017-05-30 16:21:45 +08:00
Carlos Salguero b4bee5cceb Added MySQL year data type 2017-05-29 15:48:57 -03:00
hudangwei f657d22fc7 fix tag description,add tag description by getting database table information column comment 2017-05-26 13:30:28 +08:00
hudangwei 8b01334faf fix #440 only get these tables information in custom the option ‘-tables’ 2017-05-20 13:06:25 +08:00
astaxie e1f3353511 add ineffassign check 2017-04-28 22:53:38 +08:00
astaxie e84d6f9a9c use filepath to generate appcode 2017-04-24 21:06:31 +08:00
astaxie db57fa50a0 fix #400 2017-04-19 23:51:12 +08:00
astaxie 593ef9c47c Revert "Develop" 2017-04-19 23:02:57 +08:00
qida 3b0dd10302 windows下路径问题 2017-04-18 14:36:32 +08:00
qida a353b6d69a 增加关联查询 2017-04-18 14:34:24 +08:00
Sergey Lanzman c538bfbc8f Refactor!
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00