安装指令 go get -u github.com/astaxie/beego
下面是安装过程报的错误:
```
# github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:293: hello.SupportedProtos undefined (type *tls.ClientHelloInfo has no field or method SupportedProtos)
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:303: hello.SignatureSchemes undefined (type *tls.ClientHelloInfo has no field or method SignatureSchemes)
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:306: hello.SignatureSchemes undefined (type *tls.ClientHelloInfo has no field or method SignatureSchemes)
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:307: undefined: tls.SignatureScheme
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:309: undefined: tls.ECDSAWithP256AndSHA256
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:310: undefined: tls.ECDSAWithP384AndSHA384
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:310: undefined: tls.ECDSAWithP521AndSHA512
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:336: undefined: tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
../github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert/autocert.go:339: undefined: tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
# github.com/astaxie/beego/context
../github.com/astaxie/beego/context/context.go:257: undefined: http.Pusher
../github.com/astaxie/beego/context/context.go:258: undefined: http.Pusher
../github.com/astaxie/beego/context/output.go:291: undefined: url.PathEscape
```
大家帮我看看什么原因,一直报这个错误,谢谢????
<a href="/user/jiang" title="@jiang">@jiang</a> 你好 您的Mac系统时什么版本的呢?现在beego能正常使用了吗?
#5
更多评论