无法识别的导入路径“ gopkg.in/xmlpath.v2”

时间:2019-05-05 04:13:16

标签: xml go

当我尝试在ubuntu上运行应用程序时出现错误,但是当我在Windows中尝试运行该程序时。

go: gopkg.in/xmlpath.v2@v2.0.0-20150820204837-860cbeca3ebc: unrecognized import path "gopkg.in/xmlpath.v2" (https fetch: Get https://gopkg.in/xmlpath.v2?go-get=1: net/http: TLS handshake timeout) go: gopkg.in/sourcemap.v1@v1.0.5: unrecognized import path "gopkg.in/sourcemap.v1" (https fetch: Get https://gopkg.in/sourcemap.v1?go-get=1: net/http: TLS handshake timeout) go: gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1" (https fetch: Get https://gopkg.in/check.v1?go-get=1: net/http: TLS handshake timeout)

这是检查连接卷曲的结果

*   Trying 35.196.143.184...                                         
* TCP_NODELAY set                                                    
* Connected to gopkg.in (35.196.143.184) port 443 (#0)               
* ALPN, offering h2                                                  
* ALPN, offering http/1.1                                            
* successfully set certificate verify locations:                     
*   CAfile: /etc/ssl/certs/ca-certificates.crt                         
CApath: /etc/ssl/certs                                             
* (304) (OUT), TLS handshake, Client hello (1):                      
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gopkg.in:443                                                                    
* stopped the pause stream!                                          
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gopkg.in:443

0 个答案:

没有答案