Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithProjection ¶
WithProjection adds a projection expression.
func WithTableName ¶
WithTableName changes the table name in Opts.Input.
Types ¶
type Opts ¶
type Opts struct { Item model.Item Input *dynamodb.GetItemInput Projection *expression.ProjectionBuilder }
Opts provides customisation to the dynamodb.GetItemInput made with github.com/nguyengg/golambda/ddb.Wrapper.Load.
Opts.Input is guaranteed to exist when passed into the first modifier. Opts.Item is the original reference item. Changes to Opts.Item don't automatically update Opts.Input. Changes to Opts.Projection will affect the final Opts.Input.
Click to show internal directories.
Click to hide internal directories.