replaced github.com/xhit/go-str2duration with my own func + tests

This commit is contained in:
2022-10-16 15:30:34 +02:00
parent dfd3ab9b77
commit da276a1b50
6 changed files with 123 additions and 15 deletions

View File

@@ -55,7 +55,11 @@ install: buildlocal
install -o $(UID) -g $(GID) -m 444 $(tool).1 $(PREFIX)/man/man1/
clean:
rm -rf $(tool) releases
rm -rf $(tool) releases coverage.out
test:
go test -v ./...
cover-report:
go test ./... -cover -coverprofile=coverage.out
go tool cover -html=coverage.out