package golang.org/x/crypto/ed25519: unrecognized import path "golang.org/x/crypto/ed25519": https fetch: Get "https://golang.org/x/crypto/ed25519?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
package golang.org/x/net/ipv4: unrecognized import path "golang.org/x/net/ipv4": https fetch: Get "https://golang.org/x/net/ipv4?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
package golang.org/x/net/ipv6: unrecognized import path "golang.org/x/net/ipv6": https fetch: Get "https://golang.org/x/net/ipv6?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
直接执行代理:
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
解决问题。