Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShoppingListServer ¶
func NewShoppingListServer() *shoppingListServer
Types ¶
type ShoppingList ¶
type ShoppingList struct { ID primitive.ObjectID `json:"id"` UserID string `json:"userId"` Items []ShoppingListItem `json:"items"` Deleted bool `json:"deleted"` LastUpdated time.Time `json:"lastUpdated"` }
ShoppingList is a model of a shopping list
type ShoppingListItem ¶
Click to show internal directories.
Click to hide internal directories.