client/v3: Create and update go.mod

This commit is contained in:
Piotr Tabor
2020-10-20 10:09:12 +02:00
parent 8a7f15511c
commit cf795c0ae6
16 changed files with 467 additions and 30 deletions

View File

@@ -109,6 +109,7 @@ function modules() {
go.etcd.io/etcd/pkg/v3
go.etcd.io/etcd/raft/v3
go.etcd.io/etcd/client/v2
go.etcd.io/etcd/client/v3
go.etcd.io/etcd/v3
go.etcd.io/etcd/tests/v3"
}
@@ -127,8 +128,9 @@ function run_for_modules {
if [ -z "${USERMOD}" ]; then
run_for_module "api" "$@" "${pkg}" || return "$?"
run_for_module "pkg" "$@" "${pkg}" || return "$?"
run_for_module "client/v2" "$@" "${pkg}" || return "$?"
run_for_module "raft" "$@" "${pkg}" || return "$?"
run_for_module "client/v2" "$@" "${pkg}" || return "$?"
run_for_module "client/v3" "$@" "${pkg}" || return "$?"
run_for_module "." "$@" "${pkg}" || return "$?"
run_for_module "tests" "$@" "${pkg}" || return "$?"
else