Documentation ¶
Overview ¶
Package toy contains support for managing toy inventory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Toy ¶
Toy represents a toy we sell.
func (*Toy) UpdateOnHand ¶
UpdateOnHand updates the on hand count and returns the current value.
func (*Toy) UpdateSold ¶
UpdateSold updates the sold count and returns the current value.
Click to show internal directories.
Click to hide internal directories.