-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Feature] Hope gf CLI supports using go install
to installed
#2888
Comments
go install
to installed
@shuqingzai Let me have two thinks. |
@gqcn |
让我想两下。 |
如果是本地开发的问题,建议使用 go workspaces 的模式,更加友好,开发更加舒服,至少我目前是这么认为的 因为 gf 已经更新支持 1.18 ,开发模式也可以趁着这节点更新 |
#2619 |
#2619 |
好的,我抽空研究一下呢,如果你有好的想法也可以直接提pr哈。 |
Okay, I'll take the time to study it. If you have a good idea, you can directly submit a pr. |
已经支持 go install github.com/gogf/gf/cmd/gf/v2@latest
go install github.com/gogf/gf/cmd/gf/[email protected] |
目前安装
gf CLI
工具只能通过请求 github release 的方式安装,如果对于外网不友好的网络,这根本很难下载,没法使用go proxy
的好处,我尝试使用go install
的方式安装,但因为go.mod
有替换依赖无法进行安装参考:
gf/cmd/gf/go.mod
Line 62 in cf29927
如果可以直接
go install
进行安装命令行工具,那对于国内用户可真太有好了。。。1. What version of
Go
and system type/arch are you using?2. What version of
GoFrame
are you using?3. Can this issue be re-produced with the latest release?
4. What did you do?
5. What did you expect to see?
6. What did you see instead?
The text was updated successfully, but these errors were encountered: