Files

13 lines
212 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash -e
source script/lib.sh
status=0
pkgs=$(go list -f '{{if not .Doc}}{{.ImportPath}}{{end}}' ./...)
for pkg in ${pkgs}; do
print_error "${pkg} missing docstring"
status=1
done
exit ${status}