xframe/vendor/github.com/go-faster/errors/go.coverage.sh

7 lines
120 B
Bash

#!/usr/bin/env bash
set -e
go test -v -coverpkg=./... -coverprofile=profile.out ./...
go tool cover -func profile.out