Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用的是github.com/jinzhu/gorm,跟生成的文件gorm.io/gorm不匹配 #222

Open
1070523402 opened this issue Oct 21, 2022 · 2 comments

Comments

@1070523402
Copy link

Cannot use 'db' (type *"api/vendor/github.com/jinzhu/gorm".DB) as the type *"api/vendor/gorm.io/gorm".DB

@xxjwxc
Copy link
Owner

xxjwxc commented Oct 21, 2022

image
试下v1版本呢?

@1070523402
Copy link
Author

is_out_file_by_table_name: false # 是否根据表名生成多个model
is_out_page: true # 是否输出分页函数

旧版本没有这两个功能吗

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

No branches or pull requests

2 participants