View code coverage in HTML format

suggest change

Run go test as usual, with the -coverprofile flag. Then use go tool cover to view the results as HTML.

go test -coverprofile=c.out
go tool cover -html=c.out

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents