Go R1 Day 41
- Enabled Go code coverage for tests in VSCode
go install github.com/jpoles1/[email protected]to install tooling for generating code coverage badge for readme.
![gopherbadger-tag-do-not-edit]()in the readme, and then this gets replaced with a code coverage percentage badge.
- Generate the required code coverage reports using:
go test -coverprofile cover.outfollowed by
go tool cover -html=cover.out -o coverage.htmlfor a visual report.