mac下安装beego失败

jiang · · 325 次点击 · 开始浏览    置顶
安装指令 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 ``` 大家帮我看看什么原因,一直报这个错误,谢谢🙏
325 次点击  
加入收藏 微博
5 回复  |  直到 2018-11-07 22:46:46
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传