package
Version:
v0.0.0-...-25e8c23
Opens a new window with list of versions in this module.
Published: Apr 11, 2023
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type HealthzModel struct {
IsHealthy bool `json:"is_healthy"`
ErrorMessage string `json:"error_message"`
}
type Ingredient struct {
Id int64 `json:"id"`
Name string `json:"name"`
Amount string `json:"amount"`
}
type Recipe struct {
Id int64 `json:"id"`
Name string `json:"name"`
Img string `json:"img"`
Ingredients []Ingredient `json:"ingredients",pg:"rel:has-many"`
Steps []Step `json:"steps",pg:"rel:has-many"`
}
type Step struct {
Id int64 `json:"id"`
Instruction string `json:"instruction"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.