goalstorage

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoalPeriod

type GoalPeriod struct {
	StartDate string        `json:"startDate"` // YYYY-MM-DD
	Calories  float64       `json:"calories"`
	Macros    NutrientGoals `json:"macros"`
}

type NutrientGoals

type NutrientGoals struct {
	Carbs    float64 `json:"carbs"`
	Proteins float64 `json:"proteins"`
	Fats     float64 `json:"fats"`
	Fibres   float64 `json:"fibres"`
	Sugars   float64 `json:"sugars"`
	Salt     float64 `json:"salt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL