models

package module
v0.0.0-...-afc12eb Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocRecord

type LocRecord struct {
	UserID            string
	ProductIdentifier string
	Location          string `json:"location"`
}

Record struct that will house the DynamoDB records.

type ProductRecord

type ProductRecord struct {
	ProductIdentifier string
	ProductName       string
	Quantity          int
}

type RecipeRecord

type RecipeRecord struct {
	UserID           string                   `json:"userID"`
	RecipeIdentifier string                   `json:"recipeIdentifier"`
	RecipeName       string                   `json:"recipeName"`
	PhotoURL         string                   `json:"photoURL"`
	Notes            string                   `json:"notes"`
	Description      string                   `json:"description"`
	Sharing          string                   `json:"sharing"`
	Steps            []map[string]interface{} `json:"steps"`
	Ingredients      []map[string]interface{} `json:"ingredients"`
}

Record struct that will house the DynamoDB records.

Jump to

Keyboard shortcuts

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