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

gf gen service work with mistake #2824

Closed
liaowj5 opened this issue Aug 1, 2023 · 8 comments
Closed

gf gen service work with mistake #2824

liaowj5 opened this issue Aug 1, 2023 · 8 comments
Labels

Comments

@liaowj5
Copy link

liaowj5 commented Aug 1, 2023

1. What version of Go and system type/arch are you using?

macos

2. What version of GoFrame are you using?

GoFrame CLI Tool v2.5.1, https://goframe.org
GoFrame Version: v2.3.1 in current go.mod
CLI Installed At: /opt/homebrew/bin/gf
CLI Built Detail:
Go Version: go1.20.4
GF Version: v2.5.1
Git Commit: 2023-07-26 21:27:58 e0e0043
Build Time: 2023-07-26 21:32:56

3. Can this issue be re-produced with the latest release?

Yes

4. What did you do?

gf gen service

5. What did you expect to see?

generate logic.go (go file) in internal/logic

6. What did you see instead?

generate logic.go (as folder) instead, and has no go files under logic folder.

@pingProMax
Copy link

pingProMax commented Aug 13, 2023

GoFrame CLI Tool v2.5.1, https://goframe.org
GoFrame Version: v2.5.1 in current go.mod
go version go1.20.5 windows/amd64
vscode

My question is the same as yours

image

@gqcn gqcn added the question label Oct 7, 2023
@gqcn
Copy link
Member

gqcn commented Oct 7, 2023

@liaowj5 @pingProMax Please use the latest version of cli, submit a new issue if this persists.

@gqcn gqcn closed this as completed Oct 7, 2023
@Gallery2000
Copy link

Gallery2000 commented Feb 25, 2024

image
image
windows 11
I have this problem too

@xuwuruoshui
Copy link

我也遇到了,是不是都不用代码生成,都是手写的

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I've also encountered it. Isn't it all generated by code? It's all handwritten.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This is the holiday automatic reply email from QQ mailbox.

Hello, I am currently on vacation and cannot reply to your email personally. I will reply to you as soon as possible after the vacation.

@ragnaros2046
Copy link

same error

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This is the holiday automatic reply email from QQ mailbox.

Hello, I am currently on vacation and cannot reply to your email personally. I will reply to you as soon as possible after the vacation.

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

No branches or pull requests

7 participants