summaryrefslogtreecommitdiff
path: root/lib.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-11-14 00:17:31 +0800
committerxuri <xuri.me@gmail.com>2021-11-14 00:17:31 +0800
commit57275db22e3a7f9dce51556f7579b704b8033dcb (patch)
treededa912d160c898d18e3f24be22a283636d2c9db /lib.go
parentadecf447e15244207af5dfb7177447d278db7526 (diff)
This closes #1057, merge column styles to reduce spreadsheet size
Diffstat (limited to 'lib.go')
-rw-r--r--lib.go6
1 files changed, 3 insertions, 3 deletions
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()