package
Version:
v0.0.0-...-e008a93
Opens a new window with list of versions in this module.
Published: Feb 1, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DB is a DynamoDB service for a particular table.
New creates a new DynamoDB session.
PutFood puts one food item into the DynamoDB table.
type DBEntry struct {
Canteen string `json:"canteen"`
SpecDiet bool `json:"spec_diet"`
Date string `json:"date"`
Items []food.Food `json:"items"`
}
DBEntry is the entry in our DynamoDB table for a particular day.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.