Versions in this module Expand all Collapse all v0 v0.4.0 Jun 5, 2019 Changes in this version + func ConnectToInventoryFromContext(ctx context.Context) *dynamodbclient.DynamoDBStore + func CreateObject(inv InventoryDatabase, obj InventoryObject) (*events.APIGatewayProxyResponse, error) + func DeleteObject(inv InventoryDatabase, obj InventoryObject) (*events.APIGatewayProxyResponse, error) + func GetObjectResponse(obj interface{}, err error) (*events.APIGatewayProxyResponse, error) + func UpdateObject(inv InventoryDatabase, obj InventoryObject, id string) (*events.APIGatewayProxyResponse, error) + type InventoryDatabase interface + ObjCreate func(interface{}) error + ObjDelete func(interface{}) error + ObjExists func(interface{}) (bool, error) + ObjUpdate func(interface{}) error + type InventoryObject interface + ID func() string + SetTimestamp func(time.Time) + Timestamp func() int64