Documentation
¶
Index ¶
Constants ¶
View Source
const ( CapuccinoSizeRegular = CapuccinoSize(iota) CapuccinoSizeDouble )
View Source
const ( LatteSizeRegular = LatteSize(iota) LatteSizeDouble )
View Source
const ( MilkshakeSizeSmall = MilkshakeSize(iota) MilkshakeSizeMedium MilkshakeSizeLarge )
View Source
const ( TeaKindBlack = TeaKind(iota) TeaKindGreen TeaKindFruit TeaKindRed )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Beverage ¶
func NewCapuccino ¶
func NewCapuccino(size CapuccinoSize) Beverage
func NewMilkshake ¶
func NewMilkshake(size MilkshakeSize) Beverage
type CapuccinoSize ¶
type CapuccinoSize int
func (CapuccinoSize) String ¶
func (cs CapuccinoSize) String() string
type MilkshakeSize ¶
type MilkshakeSize int
func (MilkshakeSize) String ¶
func (m MilkshakeSize) String() string
Click to show internal directories.
Click to hide internal directories.