Skip to content

Commit 76bb1f6

Browse files
committed
Store item keys
Allow access to item key names, which is useful for processing items without fragile parsing of the human item name. Signed-off-by: Georg Pfuetzenreuter <[email protected]>
1 parent 301125c commit 76bb1f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

item.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ type Item struct {
1313
// ItemID is the unique ID of the Item.
1414
ItemID string `json:"itemid"`
1515

16+
// ItemKey is the key name of the item.
17+
ItemKey string `json:"key_"`
18+
1619
// Itemname is the technical name of the Item.
1720
ItemName string `json:"name"`
1821

0 commit comments

Comments
 (0)