我的 go 版本是“go version go1.9.4 linux/amd64”在運行“go get -u google.golang.org/grpc”時,在我的 HOME 中創建了一個“go”目錄,我收到以下消息google.golang.org/grpc/internal/credentialsgo/src/google.golang.org/grpc/internal/credentials/spiffe.go:39:70: state.PeerCertificates[0].URIs undefined (type *x509.Certificate has no field or method URIs) go/src/ google.golang.org/grpc/internal/credentials/spiffe.go:48:24: cert.URIs undefined (type *x509.Certificate has no field or method URIs) go/src/google.golang.org/grpc/internal /credentials/spiffe.go:52:26: cert.URIs undefined (type *x509.Certificate 沒有字段或方法 URIs) go/src/google.golang.org/grpc/internal/credentials/spiffe.go:70: 14: cert.URIs undefined (type *x509.Certificate has no field or method URIs)如果我嘗試運行 grpc 服務器樣板代碼,它會給出相同的錯誤
- 1 回答
- 0 關注
- 182 瀏覽
添加回答
舉報
0/150
提交
取消