Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItem ¶
CreateItem creates the given item in the given DynamoDB table.
func GetAllItems ¶
func GetAllItems(tableName string) ([]map[string]types.AttributeValue, error)
GetAllItems returns all items from the given DynamoDB table. The returned value is direct assigned from the output of the ScanInput function from the DynamoDB client.
func GetItem ¶
func GetItem(tableName string, input map[string]types.AttributeValue) (map[string]types.AttributeValue, error)
GetItem returns an item from the given DynamoDB table with the given input, which will be used as a key to query the table. The returned value is direct assigned from the output of the GetItem function from the DynamoDB client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.