mirror of
https://github.com/sajari/docconv.git
synced 2026-10-17 05:30:56 +08:00
fix golint issues
Documentation still needs a lot of work.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user