-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
goctl model mysql datasource 生成 Model 代码多引用依赖问题 #3825
Comments
kesonan
added a commit
to kesonan/go-zero
that referenced
this issue
Jan 4, 2024
This will be fixed on pr #3828 |
kevwan
pushed a commit
to kesonan/go-zero
that referenced
this issue
Jan 6, 2024
dongmeng199
pushed a commit
to dongmeng199/go-zero
that referenced
this issue
Jan 9, 2024
Fixed, closing. Reopen if further problem. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
如果不生成带缓存的代码,xxx_model_gen.go 不应该 import 进来 "github.com/zeromicro/go-zero/core/stores/sqlc" 依赖!
To Reproduce
The code is
The error is
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environments (please complete the following information):
The text was updated successfully, but these errors were encountered: