go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

generated package path failed

Open lizcao opened this issue 1 year ago • 5 comments
trafficstars

After installing with the command, the automatically generated package path failed to convert. Can you fix it? I know it can be fixed by modifying the path, but it's not user-friendly for beginners because installing according to the steps in the documentation is not easy. Can you adjust this path so that it can be installed directly through commands without needing to be adjusted? Thank you image

lizcao avatar Aug 09 '24 01:08 lizcao

go mod tidy,

kesonan avatar Aug 13 '24 12:08 kesonan

用这个命令是安装失败的

lizcao avatar Aug 19 '24 02:08 lizcao

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


Installation fails with this command

Issues-translate-bot avatar Aug 19 '24 02:08 Issues-translate-bot

You need to init project and run go mod tidy.

kevwan avatar Aug 27 '24 14:08 kevwan

Pls check your GOMODULE status, turn it on or auto and then execute go mod tidy, you can execute go env to show your GOMODULE status, such as:

$ go env
GO111MODULE='on'
GOARCH='arm64'
GOBIN=''
....

kesonan avatar Sep 18 '24 09:09 kesonan

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 21 '25 02:09 github-actions[bot]