BUG: golang.org/x/crypto/ssh/terminal/util.go undefined: unix.IoctlGetTermios

最近使用到logrus库,但是logrus依赖于golang.org/x/crypto/ssh/terminal, 这个库在gopath下不在vendor里是不会报错的,但是添加到vendor后,会报下面的错误,开始感觉可能是go版本,或者是mac系统的原因。 后来我做了一些尝试,Mac系统下,golang.org/x/crypto/ssh/terminal库装在GOPATH下而不在vendor里
相关文章
相关标签/搜索