mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
client/v3: Create and update go.mod
This commit is contained in:
8
test
8
test
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user