Installing obsidian on my linux distro updated my ~/.config/mimeapps.list with text/html=obsidian.desktop.
This caused go tool cover -html=coverage.out -o coverage.html to attempt (and fail) to open coverage files in obsidian instead of a browser.
The fix was was simple. I just needed to fix the mime association with: xdg-mime default google-chrome.desktop text/html