package
Version:
v0.0.0-...-08a49e0
Opens a new window with list of versions in this module.
Published: Apr 7, 2022
License: GPL-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DeleteItem shows an example, how to delete item by key
DeleteItems shows an example, how to delete multiple items by keys
GetItem shows an example how to get an item from dynamodb
func GetFromGlobalIndex()
GetFromGlobalIndex shows an example, how to get item from global index
GetItems shows an example, how to get multiple items from dynamodb
func GetItemsFromGlobalIndex()
GetItemsFromGlobalIndex shows an example, how to get multiple items from global index
Query shows an example, how to query multiple items from dynamodb
SaveItem shows an example, how to save an item
SaveItems shows an example, how to save multiple items
Update shows an example, how to update certain fields of an item
type User struct {
UserUUID string
Time time.Time
Msg string `dynamo:"Message"`
Count int `dynamo:",omitempty"`
Friends []string `dynamo:",set"`
Set map[string]struct{} `dynamo:",set"`
SecretKey string `dynamo:"-"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.