When we use GoLand for development, we can configure goproxy to pull the required dependent code.
Configuration path: GoLand --> Perferences --> Go --> Go Modules(vgo)--> Proxy
write in proxy https://goproxy.io,direct
, restart after modify. The details are as follows: