Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawCategories ¶
func (RawCategories) GetSortedKeys ¶
func (rc RawCategories) GetSortedKeys() []string
type RawRecipe ¶
type RawRecipe struct { Title string `json:"title" yaml:"title" toml:"title"` Categories []string `json:"categories" yaml:"categories" toml:"categories"` Filename string `json:"-" yaml:"-" toml:"-"` IsMissingMeta bool `json:"-" yaml:"-" toml:"-"` }
func (RawRecipe) ToTemplateRecipe ¶
func (rr RawRecipe) ToTemplateRecipe() TemplateRecipe
type TemplateCategory ¶
type TemplateCategory struct { Name string Items []TemplateRecipe }
func NewTemplateCategory ¶
func NewTemplateCategory(name string, items []RawRecipe) TemplateCategory
type TemplateRecipe ¶
Click to show internal directories.
Click to hide internal directories.