Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

话说现在包是怎么了。。。 #2

Closed
fhstack opened this issue May 20, 2019 · 1 comment
Closed

话说现在包是怎么了。。。 #2

fhstack opened this issue May 20, 2019 · 1 comment

Comments

@fhstack
Copy link

fhstack commented May 20, 2019

现在etcd包的结构已经混乱了,源码里引用的是go.etcd.io的包,但是这个网站上的包下不下来。这导致github上git下来的代码是乱的,import都找不到
image
现在应该要这样。。。。于是自己创建路径手动移动,建议你把这个写出来提醒一下大家!!很无语的。。

@wwcd
Copy link
Owner

wwcd commented May 21, 2019

兄弟,

依赖的包都在vendor目录中了(go vednor的机制可自行学习一下),如果翻过墙可以直接使用vendor中的

go1.11之前的版本,go get github.com/wwcd/grpc-lb下来,IDE/vim-go,可以直接跳转的,如果是go1.11之后的版本,把export GO111MODULE=0ff,这样也能使用vendor

@wwcd wwcd closed this as completed Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants