added golang

This commit is contained in:
Marvin Zhang
2019-07-22 12:51:52 +08:00
parent 0eef85723a
commit 56c99b314f
897 changed files with 398043 additions and 1 deletions

12
backend/vendor/github.com/json-iterator/go/test.sh generated vendored Normal file
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/json-iterator/go $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done