gf-cli icon indicating copy to clipboard operation
gf-cli copied to clipboard

最新版的cli工具在gf gen model 生成模型后部分方法参数接收个数和参数类型错误

Open voyager-hang opened this issue 4 years ago • 1 comments

最新版的cli工具在gf gen model 生成模型后部分方法参数接收个数和参数类型错误 gf信息 GoFrame CLI Tool v1.15.0, https://goframe.org Install Path: /usr/local/bin/gf Build Detail: Go Version: go1.15.5 GF Version: v1.14.6 Git Commit: be4a97564756953c16d39f1c12f17f7b82b15a18 Build Time: 2021-01-04 00:01:21 错误文件:_entity.go 62行 Update() 方法 错误文件:_model.go 101 行 Fields() 方法

还有一些无关紧要的问题 1.更新了cli后,model目录下存在原来生成的文件,不会询问是否覆盖了

辛苦作者大大了

voyager-hang avatar Jan 13 '21 03:01 voyager-hang

@mygithub-hang 我试了下没复现你所说的问题,你更新到最新gf框架版本试试。是的,不会询问了,按照既定规则覆盖或者不覆盖。

gqcn avatar Jan 13 '21 15:01 gqcn