go-coverage icon indicating copy to clipboard operation
go-coverage copied to clipboard

have option not to use full path

Open MarcelXia opened this issue 3 years ago • 1 comments

It would be nice if there was an option, like --trim, not to use the full path. in the coverage file itself, files are not shown as a filepath, but as a URI. github.com/company/software/dir/package/somefunc.go instead of: /Users/marcelloh/data/company/software/dir//package/somefunc.go

The reason is, that I might use it in a presentation towards the customer, and it doesn't look professional when my name is in there. Or perhaps you can just start at the current dir (and remove everything in front of that.

MarcelXia avatar Feb 17 '22 09:02 MarcelXia

Do you need help with this?

MarcelXia avatar Jun 22 '22 07:06 MarcelXia