Skip to content

Commit

Permalink
service/dynamodb/expression: Fixup NameBuilder example doc (#4104)
Browse files Browse the repository at this point in the history
Fixes typo in NameBuilder.NamesList example documentation to use the
correct variable name.
  • Loading branch information
jasdel authored Sep 23, 2021
1 parent f57311a commit 21cab02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service/dynamodb/expression/projection.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ type ProjectionBuilder struct {
//
// // Used in another Projection Expression
// anotherProjection := expression.AddNames(projection, expression.Name("baz"))
//
// // Used to make an Builder
// builder := expression.NewBuilder().WithProjection(newProjection)
// builder := expression.NewBuilder().WithProjection(anotherProjection)
//
// Expression Equivalent:
//
Expand Down

0 comments on commit 21cab02

Please sign in to comment.