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

7 lines
126 B
Bash

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