dynamodbutils

package
v0.0.95 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

func CreateTable(definition *dynamodb.CreateTableInput) error

func DeleteTable

func DeleteTable(tableName string) error

func WriteBatchItem added in v0.0.92

func WriteBatchItem(tableName string, items []interface{}) error

func WriteItem

func WriteItem(tableName string, item interface{}) error

Types

type Update

type Update struct {
	Type  UpdateType `json:"type,omitempty"`
	Key   string     `json:"key,omitempty"`
	Value string     `json:"value,omitempty"`
}

type UpdateType

type UpdateType string

Jump to

Keyboard shortcuts

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