Documentation
¶
Index ¶
Constants ¶
View Source
const ( White = 1 Black = 2 Yellow = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemInfoGetter ¶
type ItemInfoGetter interface {
GetInfo() string
}
type Shirt ¶
type Shirt struct {
Price float32
SKU string
Color ShirtColor
}
type ShirtCache ¶
type ShirtCache struct {
}
func (*ShirtCache) GetClone ¶
func (*ShirtCache) GetClone(color int) (ItemInfoGetter, error)
type ShirtCloner ¶
type ShirtCloner interface {
GetClone(color int) (ItemInfoGetter, error)
}
func GetShirtsCloner ¶
func GetShirtsCloner() ShirtCloner
type ShirtColor ¶
type ShirtColor byte
Click to show internal directories.
Click to hide internal directories.