common

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOne

func AddOne(client *dynamodb.Client, tableName *string, item interface{}) error

func GetOne

func GetOne(client *dynamodb.Client, tableName *string, output interface{}, keys map[string]interface{}, indexName *string) (bool, error)

func List

func List(args ListArgs) (bool, map[string]types.AttributeValue, error)

Types

type ListArgs

type ListArgs struct {
	Client    *dynamodb.Client
	TableName *string
	Output    interface{}
	Keys      map[string]interface{}
	IndexName *string
	From      *map[string]types.AttributeValue
	Limit     *int32
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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