Skip to content

Commit

Permalink
fix(xlsxBoolProp): xml tag option: mistyped 'attr'. Docs: https://gol…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Petrukhin committed Jun 18, 2020
1 parent 92e1935 commit 5c30f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmlSharedStrings.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type xlsxRunProperties struct {
// On the serialization, the struct which has "true" will be serialized an empty XML tag without "val" attributes,
// and the struct which has "false" will not be serialized.
type xlsxBoolProp struct {
Val bool `xml:"val,addr"`
Val bool `xml:"val,attr"`
}

// MarshalXML implements xml.Marshaler interface for xlsxBoolProp
Expand Down

0 comments on commit 5c30f9c

Please sign in to comment.