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/init: issue When executing gf init, please use the latest version of gf for the generated go.mod. #4102

Closed
chehan01 opened this issue Jan 8, 2025 · 4 comments

Comments

@chehan01
Copy link

chehan01 commented Jan 8, 2025

Description

在gf v2.8.3,使用gf cli初始大仓模式仓库时,生成的go.mod里gf的版本为2.5.2。期望每次默认使用最新版本的gf。

image

Additional

No response

@Issues-translate-bot Issues-translate-bot changed the title gf/init: issue 执行gf init时,生成的go.mod请使用gf的最新版本 gf/init: issue When executing gf init, please use the latest version of gf for the generated go.mod. Jan 8, 2025
@UncleChair
Copy link
Contributor

https://goframe.org/docs/cli/init

带上 -u 参数
文档还是得好好看看

@Issues-translate-bot
Copy link

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


https://goframe.org/docs/cli/init

with -u parameter
You still need to read the documentation carefully.

@chehan01
Copy link
Author

https://goframe.org/docs/cli/init

带上 -u 参数 文档还是得好好看看

确实是忽略了这个,谢谢

@Issues-translate-bot
Copy link

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


https://goframe.org/docs/cli/init

Bring the -u parameter. You still need to read the documentation carefully.

I really ignored this, thank you

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

No branches or pull requests

3 participants