我正在尝试从github安装etcctl。 (P.S我不知道golang)
git config --global http.sslVerify false
go get github.com/coreos/etcd/etcdctl
但我正在点击以下内容。
github.com/coreos/etcd/vendor/go.uber.org/zap
/root/projects/src/src/github.com/coreos/etcd/vendor/go.uber.org/zap/field.go:33: syntax error: unexpected = in type declaration
github.com/coreos/etcd/pkg/tlsutil
/root/projects/src/src/github.com/coreos/etcd/pkg/tlsutil/cipher_suites.go:26: undefined: tls.TLS_RSA_WITH_AES_128_CBC_SHA256
/root/projects/src/src/github.com/coreos/etcd/pkg/tlsutil/cipher_suites.go:36: undefined: tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
/root/projects/src/src/github.com/coreos/etcd/pkg/tlsutil/cipher_suites.go:37: undefined: tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
/root/projects/src/src/github.com/coreos/etcd/pkg/tlsutil/cipher_suites.go:42: undefined: tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305
/root/projects/src/src/github.com/coreos/etcd/pkg/tlsutil/cipher_suites.go:43: undefined: tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305