go.mod: use go.etcd.io/etcd/v3 versioning

This change makes the etcd package compatible with the existing Go
ecosystem for module versioning.

Used this tool to update package imports:
  https://github.com/KSubedi/gomove
This commit is contained in:
Brandon Philips
2020-04-26 21:03:37 +00:00
parent 262c939805
commit 96cce208c2
558 changed files with 1475 additions and 1434 deletions

View File

@ -19,8 +19,8 @@ import (
"fmt"
"log"
"go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/clientv3/concurrency"
"go.etcd.io/etcd/v3/clientv3"
"go.etcd.io/etcd/v3/clientv3/concurrency"
)
func ExampleMutex_TryLock() {