Skip to content

Commit 7d4f9a2

Browse files
committed
Improve code defensiveness & use of idiomatic Go
1 parent 65c58d9 commit 7d4f9a2

File tree

5 files changed

+367
-310
lines changed

5 files changed

+367
-310
lines changed

.godocdown.tmpl

Lines changed: 0 additions & 38 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,9 @@ endif
1919
setup:
2020
go install github.com/pierrre/gotestcover@latest
2121
go install golang.org/x/tools/cmd/cover@latest
22-
go install github.com/robertkrimen/godocdown/godocdown@latest
2322
go mod download
2423

25-
generate: ## Generate README.md
26-
godocdown >| README.md
27-
28-
test: generate test_and_cover_report lint
24+
test: test_and_cover_report lint
2925

3026
test_and_cover_report:
3127
gotestcover $(TEST_OPTIONS) -covermode=atomic -coverprofile=coverage.txt $(SOURCE_FILES) -run $(TEST_PATTERN) -timeout=2m

0 commit comments

Comments
 (0)