package
0.0.0-20241030015641-382c8e99cb22
Repository: https://github.com/sasimpson/goparent.git
Documentation: pkg.go.dev

# Functions

NewError is the creator of the new errors.
RoundToDay helps round up or down to the nearest day.

# Constants

ChildKind is the constant for child kind in gcp datastore.
FamilyKind - constant string for all family entities in datastore.
FeedingKind is the constant for the feeding entity kind in gcp datastore.
InviteKind is the datastore kind representation.
ResetKind - constant for all user password reset entities.
SleepKind is the constant for the sleep entity kind in GCP datastore.
UserKind - constant string for all user entities in datastore.
WasteKind is the constant for the waste entity kind in gcp datastore.

# Variables

ErrAlreadyInFamily is if a user is already a member of a family.
ErrInvalidEmail is when a user submits an invalid email for password reset.
ErrInvalidLogin is when the password/user combo do not match.
ErrInvalidResetCode is when a user submits a code for resetting password that is invalid.
ErrNoFamilyFound is when no family is found.
ErrNoUserFound is when there is no user returned by the datastore.

# Structs

ChildService -.
DBEnv -.
Error is a custom error handler for the datastore code so the source oferrors can be tracked down, as the source can get a bit deep.
FamilyService -.
FeedingService -.
SleepService -.
UserClaims -.
UserInviteService -.
UserService -.
WasteService -.