fitness

package
v0.0.0-...-68f7e42 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONSchema

func JSONSchema() string

JSONSchema returns the JSON schema for the Fitness struct

Types

type Fitness

type Fitness struct {
	profile.Profile
	ActivitiesThisWeek []db.ActivityUnsafe `json:"activities_this_week"`
	ActivitiesLastWeek []db.ActivityUnsafe `json:"activities_last_week"`
	ActivitiesOlder    []db.ActivityUnsafe `json:"activities_older"`
	Skeleton           profile.Skeleton    `json:"skeleton"`
}

func Read

func Read(dbh *sql.DB) *Fitness

Jump to

Keyboard shortcuts

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