分享
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。
安装指令 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
```
大家帮我看看什么原因,一直报这个错误,谢谢????
有疑问加站长微信联系(非本文作者)
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
关注微信3933 次点击
添加一条新回复
(您需要 后才能回复 没有账号 ?)
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码` - 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传