Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Equipment ¶
type Equipment struct { ID int `csv:"ID"` Name string `csv:"Name"` Items []*EquipmentItems `csv:"-"` }
func (*Equipment) ToEquipmentType ¶
func (s *Equipment) ToEquipmentType(items []*beerproto.EquipmentItemType) *beerproto.EquipmentType
type EquipmentItems ¶
type EquipmentItems struct { ID string `csv:"ID"` EquipmentID string `csv:"Equipment ID"` Name string `csv:"Name"` MaximumVolume *float64 `csv:"Maximum Volume (L)"` BoilRatePerHour *float64 `csv:"Boil Rate Per Hour (L)"` DrainRatePerMinute *float64 `csv:"Drain Rate Per Minute (L)"` SpecificHeat *float64 `csv:"Specific Heat (Cal/(g*C))"` GrainAbsorptionRate *float64 `csv:"Grain Absorption Rate (L/kg)"` Loss *float64 `csv:"Loss (L)"` Weight *float64 `csv:"Weight (kg)"` Form int `csv:"Form (EquipmentItemType.EquipmentBaseForm)"` }
func (*EquipmentItems) ToEquipmentItems ¶
func (s *EquipmentItems) ToEquipmentItems() *beerproto.EquipmentItemType
type Hop ¶
type Hop struct { ID string `csv:"ID"` Name string `csv:"Name"` Purpose string `csv:"Purpose"` AlphaAcidLow string `csv:"Alpha Acid Low"` AlphaAcidHigh string `csv:"Alpha Acid High"` BetaAcidLow string `csv:"Beta Acid Low"` BetaAcidHigh string `csv:"Beta Acid High"` CoHumuloneLow string `csv:"Co-Humulone Low"` CoHumuloneHigh string `csv:"Co-Humulone High"` Country string `csv:"Country"` Storability string `csv:"Storability"` TotalOilComposition string `csv:"Total Oil Composition"` MyrceneOilLow string `csv:"Myrcene Oil Low (%)"` MyrceneOilHigh string `csv:"Myrcene Oil High (%)"` HumuleneOilLow string `csv:"Humulene Oil Low"` HumuleneOilHigh string `csv:"Humulene Oil High"` CaryophylleneOilLow string `csv:"Caryophyllene Oil Low"` CaryophylleneOilHigh string `csv:"Caryophyllene Oil High"` FarneseneOilLow string `csv:"Farnesene Oil Low"` FarneseneOilHigh string `csv:"Farnesene Oil High"` LinaloolOilLow string `csv:"Linalool Oil Low"` LinaloolOilHigh string `csv:"Linalool Oil High"` PolyphenolsOilLow string `csv:"Polyphenols Oil Low"` PolyphenolsOilHigh string `csv:"Polyphenols Oil High"` Substitutes string `csv:"Substitutes"` StyleGuide string `csv:"Style Guide"` AlsoKnownAs string `csv:"Also Known As"` Characteristics string `csv:"Characteristics"` Description string `csv:"Description"` }
type Style ¶
type Style struct { ID int `csv:"ID"` StyleID int `csv:"Style ID"` Name string `csv:"Name"` OGLow *float64 `csv:"OG Low,omitempty"` OGHigh *float64 `csv:"OG High,omitempty"` OGPlatoLow *float64 `csv:"OG Plato Low,omitempty"` OGPlatoHigh *float64 `csv:"OG Plato High,omitempty"` FGLow *float64 `csv:"FG Low,omitempty"` FGHigh *float64 `csv:"FG High,omitempty"` FGPlatoLow *float64 `csv:"FG Plato Low,omitempty"` FGPlatoHigh *float64 `csv:"FG Plato High,omitempty"` AlcoholbyWeightLow *float64 `csv:"Alcohol by Weight Low (%),omitempty"` AlcoholbyWeightHigh *float64 `csv:"Alcohol by Weight High (%),omitempty"` VolumeLow *float64 `csv:"Volume Low (%),omitempty"` VolumeHigh *float64 `csv:"Volume High (%),omitempty"` BitternessLow *int `csv:"Bitterness Low (IBU),omitempty"` BitternessHigh *int `csv:"Bitterness High (IBU),omitempty"` ColorLowSRM *int `csv:"Color Low SRM,omitempty"` ColorHighSRM *int `csv:"Color High SRM,omitempty"` ColorLowEBC *int `csv:"Color Low EBC,omitempty"` ColorHighEBC *int `csv:"Color High EBC,omitempty"` Color string `csv:"Color"` Clarity string `csv:"Clarity"` PerceivedMaltAromaFlavor string `csv:"Perceived Malt Aroma & Flavor"` PerceivedHopAromaFlavor string `csv:"Perceived Hop Aroma & Flavor"` PerceivedBitterness string `csv:"Perceived Bitterness"` FermentationCharacteristics string `csv:"Fermentation Characteristics"` Body string `csv:"Body"` AdditionalNotes string `csv:"Additional notes"` }
Click to show internal directories.
Click to hide internal directories.