Documentation
¶
Overview ¶
Copyright © 2022 Oliver Götz <developer@geekgasm.eu>
Copyright © 2022 Oliver Götz <developer@geekgasm.eu>
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyToClipboard ¶ added in v0.3.0
func CopyToClipboard(output string)
func PrintInventory ¶
func PrintInventory(inventory Inventory)
func WriteToFile ¶ added in v0.3.0
Types ¶
type Inventory ¶
type Inventory struct {
Items []Item `xml:"ITEM"`
}
type Item ¶
type Item struct {
ItemType string `xml:"ITEMTYPE"`
ItemID string `xml:"ITEMID"`
Color string `xml:"COLOR"`
Maxprice string `xml:"MAXPRICE,omitempty"`
MinQTY int `xml:"MINQTY"`
Condition string `xml:"CONDITION,omitempty"`
Remarks string `xml:"REMARKS,omitempty"`
Notify string `xml:"NOTIFY,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.