Move to Chezmoi

This commit is contained in:
Tony Blyler 2022-04-22 10:06:53 -04:00
parent f216c4ff2c
commit e3498e73b5
59 changed files with 499 additions and 2240 deletions

View file

@ -0,0 +1,11 @@
if command -v go &> /dev/null; then
go_coverage() {
(
set -eo pipefail
local -r COVERAGE_OUT="$(mktemp)"
go test -cover -coverprofile="${COVERAGE_OUT}" ./...
go tool cover -func="${COVERAGE_OUT}"
rm -f "${COVERAGE_OUT}"
)
}
fi