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

8
test
View File

@@ -450,15 +450,9 @@ function goword_for_package {
fi
}
function goword_pass {
run_for_modules goword_for_package || return 255
# check some spelling
gowordRes=$(run_go_tool "github.com/chzchzchz/goword" -ignore-file=.words clientv3/{*,*/*}.go | grep spell | sort)
if [ -n "$gowordRes" ]; then
log_error -e "goword checking failed:\\n${gowordRes}"
return 255
fi
}
function go_fmt_for_package {