diff options
author | bnewbold <bnewbold@robocracy.org> | 2012-04-22 20:33:23 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2012-04-22 20:33:23 -0400 |
commit | 0e786db3fa39c04316d655f4e9c45d95eb362cbc (patch) | |
tree | 9c70ab582dc4d353f3c0815843b7070d7db68777 /core.go | |
parent | 2d81a2a6ad8aa059c6249a2299a13c6867df0766 (diff) | |
download | bommom-0e786db3fa39c04316d655f4e9c45d95eb362cbc.tar.gz bommom-0e786db3fa39c04316d655f4e9c45d95eb362cbc.zip |
iterate lineitem fields
Diffstat (limited to 'core.go')
-rw-r--r-- | core.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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"` } |