gofix go1rename
This commit is contained in:
		
							parent
							
								
									4b31ea924d
								
							
						
					
					
						commit
						8a9dae755c
					
				
					 3 changed files with 8 additions and 8 deletions
				
			
		
							
								
								
									
										12
									
								
								document.go
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								document.go
									
										
									
									
									
								
							| 
						 | 
					@ -25,16 +25,16 @@
 | 
				
			||||||
package xmlx
 | 
					package xmlx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
 | 
						"bytes"
 | 
				
			||||||
 | 
						"encoding/xml"
 | 
				
			||||||
	"errors"
 | 
						"errors"
 | 
				
			||||||
	"os"
 | 
						"fmt"
 | 
				
			||||||
 | 
						"go-charset.googlecode.com/hg/charset"
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
	"io/ioutil"
 | 
						"io/ioutil"
 | 
				
			||||||
 | 
						"net/http"
 | 
				
			||||||
 | 
						"os"
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"bytes"
 | 
					 | 
				
			||||||
	"xml"
 | 
					 | 
				
			||||||
	"fmt"
 | 
					 | 
				
			||||||
	"http"
 | 
					 | 
				
			||||||
	"go-charset.googlecode.com/hg/charset"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// represents a single XML document.
 | 
					// represents a single XML document.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,9 +18,9 @@ package xmlx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
	"utf8"
 | 
					 | 
				
			||||||
	"regexp"
 | 
						"regexp"
 | 
				
			||||||
	"strconv"
 | 
						"strconv"
 | 
				
			||||||
 | 
						"unicode/utf8"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var reg_entnumeric = regexp.MustCompile("^&#[0-9]+;$")
 | 
					var reg_entnumeric = regexp.MustCompile("^&#[0-9]+;$")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								node.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								node.go
									
										
									
									
									
								
							| 
						 | 
					@ -5,8 +5,8 @@
 | 
				
			||||||
package xmlx
 | 
					package xmlx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"xml"
 | 
					 | 
				
			||||||
	"bytes"
 | 
						"bytes"
 | 
				
			||||||
 | 
						"encoding/xml"
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
	"strconv"
 | 
						"strconv"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue