Add a descriptive comment to the CharsetFunc type.
This commit is contained in:
		
							parent
							
								
									817a15ca8b
								
							
						
					
					
						commit
						6da9091d5a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -37,6 +37,8 @@ import (
 | 
				
			||||||
	"strings"
 | 
						"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)
 | 
					type CharsetFunc func(charset string, input io.Reader) (io.Reader, error)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// represents a single XML document.
 | 
					// represents a single XML document.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue