Add a descriptive comment to the CharsetFunc type.

This commit is contained in:
jim teeuwen 2012-02-29 11:27:52 +01:00
parent 817a15ca8b
commit 6da9091d5a
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ import (
"strings"
)
// This signature represents a character encoding conversion routine.
// Used to tell the xml decoder how to deal with non-utf8 characters.
type CharsetFunc func(charset string, input io.Reader) (io.Reader, error)
// represents a single XML document.