From 57275db22e3a7f9dce51556f7579b704b8033dcb Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 14 Nov 2021 00:17:31 +0800 Subject: This closes #1057, merge column styles to reduce spreadsheet size --- lib.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib.go') diff --git a/lib.go b/lib.go index 0710a7a..535161a 100644 --- a/lib.go +++ b/lib.go @@ -413,8 +413,8 @@ func defaultTrue(b *bool) bool { return *b } -// MarshalXMLMarshalXML convert the boolean data type to literal values 0 or 1 -// on serialization. +// MarshalXML convert the boolean data type to literal values 0 or 1 on +// serialization. func (avb attrValBool) MarshalXML(e *xml.Encoder, start xml.StartElement) error { attr := xml.Attr{ Name: xml.Name{ @@ -437,7 +437,7 @@ func (avb attrValBool) MarshalXML(e *xml.Encoder, start xml.StartElement) error } // UnmarshalXML convert the literal values true, false, 1, 0 of the XML -// attribute to boolean data type on de-serialization. +// attribute to boolean data type on deserialization. func (avb *attrValBool) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { for { t, err := d.Token() -- cgit v1.2.1