aboutsummaryrefslogtreecommitdiffstats
path: root/core.go
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-04-22 20:33:23 -0400
committerbnewbold <bnewbold@robocracy.org>2012-04-22 20:33:23 -0400
commit0e786db3fa39c04316d655f4e9c45d95eb362cbc (patch)
tree9c70ab582dc4d353f3c0815843b7070d7db68777 /core.go
parent2d81a2a6ad8aa059c6249a2299a13c6867df0766 (diff)
downloadbommom-0e786db3fa39c04316d655f4e9c45d95eb362cbc.tar.gz
bommom-0e786db3fa39c04316d655f4e9c45d95eb362cbc.zip
iterate lineitem fields
Diffstat (limited to 'core.go')
-rw-r--r--core.go7
1 files changed, 4 insertions, 3 deletions
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"`
}