dynamoutils

package
v0.0.0-...-f6c12a3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

DynamoDB utils for hiding complexity

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Number

func Number(input int) *dynamodb.AttributeValue

func NumberFromString

func NumberFromString(input string) *dynamodb.AttributeValue

func String

func String(value string) *dynamodb.AttributeValue

func Unmarshal

func Unmarshal(record Record, to interface{}) error

Types

type Record

type Record map[string]*dynamodb.AttributeValue

this shorthand type does not exist in AWS' library, even though this is rather common

func EventImageToRecord

func EventImageToRecord(eventRecord map[string]events.DynamoDBAttributeValue) Record

func Marshal

func Marshal(obj interface{}) (Record, error)

Jump to

Keyboard shortcuts

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