Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComparaisonWithPreviousResult ¶
type ComparaisonWithPreviousResult uint8
const ( Worst ComparaisonWithPreviousResult = iota Same Better Unknown )
type RoastLevel ¶
type RoastLevel uint8
const ( RoastLevelLight RoastLevel = iota RoastLevelLightToMedium RoastLevelMedium RoastLevelMediumToDark RoastLevelDark )
type Shot ¶
type Shot struct { Id int `db:"id"` Sheet *Sheet `db:"sheet"` Beans *Beans `db:"beans"` GrindSetting int `db:"grind_setting"` QuantityIn float64 `db:"quantity_in"` QuantityOut float64 `db:"quantity_out"` ShotTime time.Duration `db:"shot_time"` WaterTemperature float64 `db:"water_temperature"` Rating float64 `db:"rating"` IsTooBitter bool `db:"is_too_bitter"` IsTooSour bool `db:"is_too_sour"` ComparaisonWithPreviousResult ComparaisonWithPreviousResult `db:"comparaison_with_previous_result"` AdditionalNotes string `db:"additional_notes"` CreatedAt *time.Time `db:"created_at"` UpdatedAt *time.Time `db:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.