Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IngredientsDatabase = Repository{/* contains filtered or unexported fields */}
)
Functions ¶
This section is empty.
Types ¶
type Effect ¶
type Effect struct {
// contains filtered or unexported fields
}
func (Effect) HideEffectDetails ¶
func (Effect) IsDurationOnly ¶
func (Effect) IsImmediate ¶
func (Effect) IsMagnitudeOnly ¶
func (Effect) Measure ¶
func (e Effect) Measure() EffectMeasure
type EffectMeasure ¶
type EffectMeasure struct {
// contains filtered or unexported fields
}
func (EffectMeasure) String ¶
func (em EffectMeasure) String() string
type EffectType ¶
type EffectType struct {
// contains filtered or unexported fields
}
type Ingredient ¶
type Ingredient struct {
// contains filtered or unexported fields
}
func (Ingredient) Effects ¶
func (i Ingredient) Effects() []Effect
func (Ingredient) Name ¶
func (i Ingredient) Name() string
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func (Repository) All ¶
func (r Repository) All() []Ingredient
func (Repository) FindByName ¶
func (r Repository) FindByName(name string) (Ingredient, error)
func (Repository) FindByNames ¶
func (r Repository) FindByNames(names []string) ([]Ingredient, error)
Click to show internal directories.
Click to hide internal directories.