Documentation ¶
Overview ¶
Package habit provides the endpoint logic of our service. It deals with entities that are defined as part of our model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Habit ¶
type Habit struct { ID ID Name Name Description string WeeklyFrequency WeeklyFrequency CreationTime time.Time }
Habit to track.
type InvalidInputError ¶
type InvalidInputError struct {
// contains filtered or unexported fields
}
InvalidInputError is returned when user-input data is invalid.
type WeeklyFrequency ¶
type WeeklyFrequency uint
WeeklyFrequency is the number of times a Habit should happen every week.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.