You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pengguan06
changed the title
gf gen enums executes successfully but the content is empty
cmd/gf: gf gen enums executes successfully but the content is empty
Nov 25, 2024
Go version
go1.23.0 windows/amd64
GoFrame version
2.8.1
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
cli从2.7.2升级到2.8.1。
执行gf gen enums没有报错,但是boot_enums文件没有本项目定义的enums。
2.7.2没有该问题。
gf -v
config.yaml配置如下:
What did you see happen?
boot_enums中都是引入依赖包的enums,但是没有项目自己的enums。
如果使用prefixes配置参数,boot_enums为空
如
boot_enums.go
What did you expect to see?
boot_enums生成本项目enums
The text was updated successfully, but these errors were encountered: