fix unknown option in JSON struct tag

This commit is contained in:
tvso 2018-10-27 23:19:59 +08:00
parent 42c3541f68
commit 0ef2324f0b
1 changed files with 2 additions and 2 deletions

View File

@ -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"`