types

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cheese

type Cheese int
const (
	Shredded_Mozzarella Cheese = iota + 1
	Whole_Mozzarella
	Cheddar
	Ricotta
	Parmesan
)

func ParseCheese

func ParseCheese(cheese string) Cheese

func ParseCheeses

func ParseCheeses(cheeses []string) []Cheese

func (Cheese) Color added in v0.13.0

func (c Cheese) Color() string

func (Cheese) String

func (c Cheese) String() string

type Doneness

type Doneness int
const (
	Well_Done Doneness = iota + 1
	Medium_Well
	Medium
	Medium_Rare
	Rare
)

func ParseDoneness

func ParseDoneness(doneness string) Doneness

func (Doneness) Color added in v0.13.0

func (d Doneness) Color() string

func (Doneness) String

func (d Doneness) String() string

type Sauce

type Sauce int
const (
	Raw_Tomatoes Sauce = iota + 1
	Cooked_Tomatoes
	Basil_Pesto
	Vodka
	Alfredo
)

func ParseSauce

func ParseSauce(sauce string) Sauce

func ParseSauces

func ParseSauces(sauces []string) []Sauce

func (Sauce) Color added in v0.13.0

func (s Sauce) Color() string

func (Sauce) String

func (s Sauce) String() string

type Topping

type Topping int
const (
	Banana_Peppers Topping = iota + 1
	Basil
	Buffalo_Chicken
	Barbecue_Chicken
	Jalapeno
	Pepperoni
	Prosciutto
	Soppressata
	Sausage
	Ham
	Pineapple
	Green_Pepper
	Mushroom
)

func ParseTopping

func ParseTopping(topping string) Topping

func ParseToppings

func ParseToppings(toppings []string) []Topping

func (Topping) Color added in v0.13.0

func (t Topping) Color() string

func (Topping) String

func (t Topping) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL