summaryrefslogtreecommitdiff
path: root/templates.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates.go')
-rw-r--r--templates.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/templates.go b/templates.go
index 81b2c20..d08f45f 100644
--- a/templates.go
+++ b/templates.go
@@ -16,11 +16,9 @@ package excelize
import "encoding/xml"
-var (
- // XMLHeaderByte define an XML declaration can also contain a standalone
- // declaration.
- XMLHeaderByte = []byte(xml.Header)
-)
+// XMLHeaderByte define an XML declaration can also contain a standalone
+// declaration.
+var XMLHeaderByte = []byte(xml.Header)
const (
defaultXMLPathContentTypes = "[Content_Types].xml"