Просмотр исходного кода

Remove struct tags blocking unmarshal.

Geoffrey J. Teale 12 лет назад
Родитель
Сommit
8da270c26d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      style.go

+ 2 - 2
style.go

@@ -50,8 +50,8 @@ type xlsxVal struct {
 // ...............
 // ...............
 type xlsxFill struct {
-	FgColorIndex string  `xml:"patternFill>fgColor>indexed,attr"`
-	BgColorIndex string  `xml:"patternFill>bgColor>indexed,attr"`
+	FgColorIndex string
+	BgColorIndex string
 }
 
 // xlsxBorder directly maps the border element in the namespace