Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using cover.Boundary objects to colorize coverage #20

Open
orlangure opened this issue Feb 19, 2022 · 0 comments
Open

Consider using cover.Boundary objects to colorize coverage #20

orlangure opened this issue Feb 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@orlangure
Copy link
Owner

https://github.com/golang/tools/blob/master/cmd/cover/html.go includes the logic of the built-in html based coverage viewer. It uses boundary objects that essentially mark where to start every color block. It should be more precise and battle tested than the original procedure that I wrote.

@orlangure orlangure added the enhancement New feature or request label Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant