summaryrefslogtreecommitdiff
path: root/templates.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-05-14 10:12:46 +0800
committerxuri <xuri.me@gmail.com>2018-05-14 10:12:46 +0800
commit167554bfeca1bca54e36d761e2be159358736c9e (patch)
tree5faad60b573af628bcc89828282912167e5d5242 /templates.go
parenteb62256d165607c6877ce88efbba10c119137b3d (diff)
Improve unit testing, remove redundant code.
Diffstat (limited to 'templates.go')
-rw-r--r--templates.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates.go b/templates.go
index d3f82ee..708368e 100644
--- a/templates.go
+++ b/templates.go
@@ -7,6 +7,8 @@ package excelize
const XMLHeader = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n"
var (
+ // XMLHeaderByte define an XML declaration can also contain a standalone
+ // declaration.
XMLHeaderByte = []byte(XMLHeader)
)