From 0ef2324f0bdd2fb524b0e19973c2b1a093a5afc5 Mon Sep 17 00:00:00 2001 From: tvso Date: Sat, 27 Oct 2018 23:19:59 +0800 Subject: [PATCH] fix unknown option in JSON struct tag --- xmlChart.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmlChart.go b/xmlChart.go index 78218a0..3271cbb 100644 --- a/xmlChart.go +++ b/xmlChart.go @@ -253,7 +253,7 @@ type aLn struct { Algn string `xml:"algn,attr,omitempty"` Cap string `xml:"cap,attr,omitempty"` Cmpd string `xml:"cmpd,attr,omitempty"` - W int `xml:"w,attr,omitempty" ` + W int `xml:"w,attr,omitempty"` NoFill string `xml:"a:noFill,omitempty"` Round string `xml:"a:round,omitempty"` SolidFill *aSolidFill `xml:"a:solidFill"` @@ -591,7 +591,7 @@ type formatChartSeries struct { } `json:"line"` Marker struct { Type string `json:"type"` - Size int `json:"size,"` + Size int `json:"size"` Width float64 `json:"width"` Border struct { Color string `json:"color"` -- GitLab