使用Google Cloud BigTable获取编译错误

时间:2017-06-19 13:49:03

标签: google-cloud-bigtable

vendor / google.golang.org / grpc / transport / http_util.go:481:f.fr.SetReuseFrames undefined(type * http2.Framer没有字段或方法SetReuseFrames)

它似乎来自golang.org/x/net/http2。

希望我能直接与谷歌合作,但这不是在Github上。 有其他人经历过这个吗?

1 个答案:

答案 0 :(得分:2)

刚想出来了。我使用Glide进行包管理,它有一个缓存。显然它没有很好地处理非语义版本的包,所以我用一个非常陈旧的包进行编译。

解决方案:手动删除缓存中的包,删除我的glide.lock,然后滑动安装。

rm -rf ~/.glide/cache/src/https-golang.org-x-net cd project-root rm -f glide.lock # or you could manually remove all references to golang.org-x-net glide install

我已经通过github.com/Masterminds/glide提出功能请求,可能会使用定时到期。