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

goctl cannot be found

Open Yangjy12 opened this issue 2 years ago • 4 comments
trafficstars

image goctl已经anchu安装成功, image l路径中已经存在goctl, 检查gopath的bin已经加入到了环境变量中。但还是出现这种情况,是为什么?

Yangjy12 avatar Jan 13 '23 09:01 Yangjy12

Make sure goctl can be found in your terminal.

kevwan avatar Jan 13 '23 12:01 kevwan

hi, i run GO111MODULE=on go get -u github.com/zeromicro/go-zero/tools/goctl and it downloaded in to go/pkg/mod, and goctl api -o shorturl.api is not working because goctl is not found, can you help me to solve this?

iliyasali2107 avatar Apr 24 '23 11:04 iliyasali2107

Make sure it's in your PATH.

kevwan avatar Apr 24 '23 13:04 kevwan

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

github-actions[bot] avatar Apr 24 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jul 24 '24 01:07 github-actions[bot]