Documentation
¶
Index ¶
Constants ¶
View Source
const ( White = 1 Black = 2 Blue = 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 ShirtCloner ¶
type ShirtCloner interface {
GetClone(m int) (ItemInfoGetter, error)
}
func GetShirtsCloner ¶
func GetShirtsCloner() ShirtCloner
type ShirtColor ¶
type ShirtColor byte
type ShirtsCache ¶
type ShirtsCache struct{}
func (*ShirtsCache) GetClone ¶
func (s *ShirtsCache) GetClone(m int) (ItemInfoGetter, error)
Click to show internal directories.
Click to hide internal directories.