我的 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 关注
- 157 浏览
添加回答
举报
0/150
提交
取消