https://play.golang.org/p/UBL0MZtscc
> tmp/sandbox307381845/main.go:8: multiple-value "html/template".New("foo").Parse() in single-value context
You would have to explicitly assign the err return value to underscore in order to ignore it.
[1] https://play.golang.org/p/igdUx6qckf
[2] https://play.golang.org/p/_JW5QE_zOJ
Assigning errors to underscore is effectively the same as try { myFunc(); } except { pass; }, making them equivalent.
https://play.golang.org/p/UBL0MZtscc
> tmp/sandbox307381845/main.go:8: multiple-value "html/template".New("foo").Parse() in single-value context
You would have to explicitly assign the err return value to underscore in order to ignore it.