提取go包gin时无法识别的导入路径

Unrecognized import path while fetching go package gin. How do I resolve this issue

go get github.com/gin-gonic/gin
package gopkg.in/go-playground/validator.v8: unrecognized import path "gopkg.in/go-playground/validator.v8" (https fetch: Get https://gopkg.in/go-playground/validator.v8?go-get=1: dial tcp: i/o timeout)
package gopkg.in/yaml.v2: unrecognized import path "gopkg.in/yaml.v2" (https fetch: Get https://gopkg.in/yaml.v2?go-get=1: dial tcp: i/o timeout)

I just tried the command, and it works find.

Is your GOPATH correctly set? see the documentation for more info.