go-zero
go-zero copied to clipboard
My program is too slow to build, how to fix or troubleshoot it
trafficstars
it took too much time to build, even 5 minutes, but program is relatively small!, i don't know how to troubleshoot it and fix it, It's been bothering me for a long time.
you can use go build -x ... View the build process to see which steps take the most time, I guess it’s because downloading dependencies is too slow.
Check your GOPROXY settings.