Versions in this module Expand all Collapse all v0 v0.1.1 Mar 5, 2022 v0.1.0 Oct 9, 2021 Changes in this version + func Print(d []Drink) + func PrintAll(d []DailyDrinks) + type DailyDrinks struct + Day time.Time + Drinks []Drink + type Drink struct + HowMuch uint32 + When time.Time + type Store struct + func NewStore(path string) (*Store, error) + func (s *Store) DrinkIt(d *Drink) error + func (s *Store) GetAllDrinks() ([]DailyDrinks, error) + func (s *Store) GetTodaysDrinks(when time.Time) ([]Drink, error) + func (s *Store) RemoveLastDrink() error