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

gf init -m 生成的项目,gen dao 无法找到配置文件 #147

Open
francisxie opened this issue Jan 21, 2022 · 1 comment
Open

gf init -m 生成的项目,gen dao 无法找到配置文件 #147

francisxie opened this issue Jan 21, 2022 · 1 comment

Comments

@francisxie
Copy link

CLI Built Detail:
  Go Version:  go1.17.4
  GF Version:  v2.0.0-beta
  Git Commit:  2021-12-16 01:03:53 9295e29f2b2819faf4acb65d409931d445911faa
  Build Time:  2021-12-15 17:03:23 

错误提示

运行命令 gf gen dao -p app/job-template/
configuration file "config.toml" not found, did you miss the configuration file or the misspell the configuration file name?

在app/job-template目录执行命令提示

Error: go.mod does not exist in current working directory
@francisxie
Copy link
Author

更新到新版本还是不行

  Go Version:  go1.17.5
  GF Version:  v2.0.0-beta
  Git Commit:  2022-01-04 23:57:16 f8b09a655cd2f156517e2ef4cca224447e5721f3
  Build Time:  2022-01-04 15:57:14

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