You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Description
It is expected that gf init github.com/wanna/demo can be equivalent to gf init -g github.com/wanna/demo demo
Additional
No response
Issues-translate-bot
changed the title
cmd/gf: init项目时入参期望可以直接传入github的项目地址
cmd/gf: When initing the project, it is expected that the parameters can be passed directly to the github project address.
Nov 20, 2024
@wangle201210 When designing the gf init command, we referred more to the git init command rather than the go mod init command. As a result, the gf init command allows specifying the directory path of the project as a parameter, whereas go mod init does not. If we were to support the git init MODULE_NAME style, it would conflict with the current command design and lead to version incompatibility issues.
Description
期望 gf init github.com/wanna/demo 能等效gf init -g github.com/wanna/demo demo
Additional
No response
The text was updated successfully, but these errors were encountered: