This commit is contained in:
2022-06-20 08:57:47 +08:00
parent 255ba740d6
commit 9c57616874
940 changed files with 398273 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done