0.2.5 Beads onhand updating working. /JL
This commit is contained in:
+9
-7
@@ -35,13 +35,8 @@ type (
|
||||
|
||||
Colorstruct struct {
|
||||
Series struct {
|
||||
XMLName xml.Name `xml:"series"`
|
||||
Serie []struct {
|
||||
XMLName xml.Name `xml:"serie"`
|
||||
Name string `xml:"name,attr"`
|
||||
InStock bool `xml:"inStock"`
|
||||
OnHand int `xml:"onHand"`
|
||||
}
|
||||
XMLName xml.Name `xml:"series"`
|
||||
Serie []SerieData `xml:"serie"`
|
||||
}
|
||||
ColorIndex int `xml:"colorIndex,attr"`
|
||||
ColorName string `xml:"colorname"`
|
||||
@@ -57,6 +52,13 @@ type (
|
||||
Disabled bool `xml:"disabled"`
|
||||
}
|
||||
|
||||
SerieData struct {
|
||||
XMLName xml.Name `xml:"serie"`
|
||||
Name string `xml:"name,attr"`
|
||||
InStock bool `xml:"inStock"`
|
||||
OnHand int `xml:"onHand"`
|
||||
}
|
||||
|
||||
Pegboards struct {
|
||||
Boards []Pegboard
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user