dynamodb

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package dynamodb contains helpers for AWS DynamoDB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

CreateTable creates a table named after the given framework.Framework.

func DeleteTable

func DeleteTable(dc dynamodbiface.DynamoDBAPI, name string)

DeleteTable deletes a table by name.

func PutItem

func PutItem(dc dynamodbiface.DynamoDBAPI, tableName, value string)

PutItem inserts a new Item into the table of the given name.

Types

type TestItem

type TestItem struct {
	MyValue string
}

Jump to

Keyboard shortcuts

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