Update go dependencies
This commit is contained in:
parent
c639f490b1
commit
d3c957192e
125 changed files with 12284 additions and 0 deletions
17
vendor/go.uber.org/zap/check_license.sh
generated
vendored
Normal file
17
vendor/go.uber.org/zap/check_license.sh
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
ERROR_COUNT=0
|
||||
while read -r file
|
||||
do
|
||||
case "$(head -1 "${file}")" in
|
||||
*"Copyright (c) "*" Uber Technologies, Inc.")
|
||||
# everything's cool
|
||||
;;
|
||||
*)
|
||||
echo "$file is missing license header."
|
||||
(( ERROR_COUNT++ ))
|
||||
;;
|
||||
esac
|
||||
done < <(git ls-files "*\.go")
|
||||
|
||||
exit $ERROR_COUNT
|
||||
Loading…
Add table
Add a link
Reference in a new issue