Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

gf gen dao --importPrefix 参数无法解析 #120

Open
sqmt opened this issue Sep 27, 2021 · 0 comments
Open

gf gen dao --importPrefix 参数无法解析 #120

sqmt opened this issue Sep 27, 2021 · 0 comments

Comments

@sqmt
Copy link

sqmt commented Sep 27, 2021

想要修改自动生成代码里的 import 路径为自定义路径,看 gf -h 是支持此配置实际使用时发现无效
-/--importPrefix custom import prefix for generated go files.

看代码是未进行解析 importPrefix参数
image

gf gen dao -t system_settings -path ./core/app/system -importPrefix github.com/sqmt/server-core/app/system

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant