Skip to content

Commit

Permalink
feature/dynamodb/expression: Fixup NameBuilder example doc (aws#1430)
Browse files Browse the repository at this point in the history
Fixes typo in NameBuilder.NamesList example documentation to use the
correct variable name.

Related to aws/aws-sdk-go#4104
  • Loading branch information
jasdel authored and jrichardpfs committed Feb 14, 2022
1 parent 95e80f4 commit 6301b56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .changelog/9d263ccf04b844d5a4fa0b05cdb49223.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "9d263ccf-04b8-44d5-a4fa-0b05cdb49223",
"type": "documentation",
"description": "Fixes typo in NameBuilder.NamesList example documentation to use the correct variable name.",
"modules": [
"feature/dynamodb/expression"
]
}
3 changes: 2 additions & 1 deletion feature/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 6301b56

Please sign in to comment.