dynamodb

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 10 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 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
const (
	UpdateTypeSet    UpdateType = "SET"
	UpdateTypeRemove UpdateType = "REMOVE"
	UpdateTypeAdd    UpdateType = "ADD"
)

Jump to

Keyboard shortcuts

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