If you perform compilation by using
go build and the compilation takes a long time or is stuttering, you can use a proxy to accelerate compilation. Sample code: export GOPROXY=https://goproxy.cn