From 0e786db3fa39c04316d655f4e9c45d95eb362cbc Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 22 Apr 2012 20:33:23 -0400 Subject: iterate lineitem fields --- core.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core.go') diff --git a/core.go b/core.go index e15f397..4dd7fbc 100644 --- a/core.go +++ b/core.go @@ -21,10 +21,11 @@ type Offer struct { type LineItem struct { Manufacturer string `json:"manufacturer"` Mpn string `json:"mpn"` - Description string `json:"description"` + Function string `json:"function"` + FormFactor string `json:"form_factor"` // type:string + Specs string `json:"specs"` // comma seperated list Comment string `json:"comment"` - Tag string `json:"tag"` - // TODO: add "circuit element" type? + Tag string `json:"tag"` // comma seperated list Elements []string `json:"elements"` Offers []Offer `json:"offers"` } -- cgit v1.2.3