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

go mod error, why etcd go mod is so hard to use #11472

Closed
zjmnssy opened this issue Dec 21, 2019 · 3 comments
Closed

go mod error, why etcd go mod is so hard to use #11472

zjmnssy opened this issue Dec 21, 2019 · 3 comments
Labels

Comments

@zjmnssy
Copy link

zjmnssy commented Dec 21, 2019

  • go version
    image
    and go mod is on
  • my problem
    i use etcd in my code like this:
    image
    then the go mod auto add in go.mod file like this:
    image
    bug i want use etcd 3.4.3, not the go mod auto give to me, so i use cmd like
    image

i don't know how to fix

@zjmnssy
Copy link
Author

zjmnssy commented Dec 24, 2019

@obsider thx, i use this:
require go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738
it not effect, will be modify to 3.3.18 by go mod auto,but i use like this:
replace go.etcd.io/etcd => go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738
it is ok, but i think this is not in accordance with the specifications. Is there a schedule for repairing this problem?

@obsider
Copy link

obsider commented Dec 24, 2019

Hi @zjmnssy ,

The etcd team is aware of it. I just created this tool to help until they find a good solution. I'll add the replace into the README, thanks !

@stale
Copy link

stale bot commented Apr 6, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 6, 2020
@stale stale bot closed this as completed Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants