From 38ad20efc11c1872c4e62a12617f0300c138b867 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 7 May 2018 16:12:51 +0800 Subject: save bytes on memory instead of string --- templates.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates.go') diff --git a/templates.go b/templates.go index b5f4f8c..d3f82ee 100644 --- a/templates.go +++ b/templates.go @@ -6,6 +6,10 @@ package excelize // XMLHeader define an XML declaration can also contain a standalone declaration. const XMLHeader = "\n" +var ( + XMLHeaderByte = []byte(XMLHeader) +) + const templateDocpropsApp = `0Golang Excelize` const templateContentTypes = `` -- cgit v1.2.1