fixing Go Report Card issues #2

This commit is contained in:
Julien Neuhart
2018-12-10 17:02:48 +01:00
parent 59ca8a44a0
commit be667575d5

View File

@@ -33,9 +33,9 @@ type HTML struct {
const defaultHeaderFooterHTML string = "<html><head></head><body></body></html>"
// nolint: gocyclo
// Print converts HTML to PDF.
// Credits: https://medium.com/compass-true-north/go-service-to-convert-web-pages-to-pdf-using-headless-chrome-5fd9ffbae1af
// nolint: gocyclo
func (html *HTML) Print(destination string) error {
// use the DevTools HTTP/JSON API to manage targets (e.g. pages, webworkers).
devt := devtool.New("http://127.0.0.1:9222")