From 8a9dae755cfa4395228ad47be8ab35b7fc2faeeb Mon Sep 17 00:00:00 2001 From: jim teeuwen Date: Wed, 9 Nov 2011 14:56:55 +0100 Subject: [PATCH] gofix go1rename --- document.go | 12 ++++++------ entitymap.go | 2 +- node.go | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/document.go b/document.go index 747ee21..3811cee 100644 --- a/document.go +++ b/document.go @@ -25,16 +25,16 @@ package xmlx import ( + "bytes" + "encoding/xml" "errors" - "os" + "fmt" + "go-charset.googlecode.com/hg/charset" "io" "io/ioutil" + "net/http" + "os" "strings" - "bytes" - "xml" - "fmt" - "http" - "go-charset.googlecode.com/hg/charset" ) // represents a single XML document. diff --git a/entitymap.go b/entitymap.go index e0aded2..0337ccc 100644 --- a/entitymap.go +++ b/entitymap.go @@ -18,9 +18,9 @@ package xmlx import ( "fmt" - "utf8" "regexp" "strconv" + "unicode/utf8" ) var reg_entnumeric = regexp.MustCompile("^&#[0-9]+;$") diff --git a/node.go b/node.go index 52d33e6..63e6f76 100644 --- a/node.go +++ b/node.go @@ -5,8 +5,8 @@ package xmlx import ( - "xml" "bytes" + "encoding/xml" "fmt" "strconv" )