fix golint issues

Documentation still needs a lot of work.
This commit is contained in:
David Howden
2017-06-26 12:16:32 +10:00
parent 5f823f60ba
commit 3dad0cb02c
14 changed files with 42 additions and 32 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ import (
"os/exec"
)
// Errors & warnings are deliberately suppressed as tidy throws warnings very easily
// Tidy attempts to tidy up XML.
// Errors & warnings are deliberately suppressed as underlying tools
// throw warnings very easily.
func Tidy(r io.Reader, xmlIn bool) ([]byte, error) {
f, err := ioutil.TempFile("/tmp", "sajari-convert-")
if err != nil {