From c85b5f9b9a8a6503b37fef7fbe3fd104b9e543eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arda=20=C3=96zceviz?= Date: Tue, 31 Jan 2023 21:49:06 +0100 Subject: [PATCH] Address misused before nouns and spelling mistake (#1975) --- feature/dynamodb/expression/condition.go | 4 ++-- feature/dynamodb/expression/expression.go | 2 +- feature/dynamodb/expression/operand.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/feature/dynamodb/expression/condition.go b/feature/dynamodb/expression/condition.go index fd18e70877c..38787465e90 100644 --- a/feature/dynamodb/expression/condition.go +++ b/feature/dynamodb/expression/condition.go @@ -46,10 +46,10 @@ const ( containsCond ) -// DynamoDBAttributeType specifies the type of an DynamoDB item attribute. This +// DynamoDBAttributeType specifies the type of a DynamoDB item attribute. This // enum is used in the AttributeType() function in order to be explicit about // the DynamoDB type that is being checked and ensure compile time checks. -// More Informatin at http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.OperatorsAndFunctions.html#Expressions.OperatorsAndFunctions.Functions +// More Information at http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.OperatorsAndFunctions.html#Expressions.OperatorsAndFunctions.Functions type DynamoDBAttributeType string const ( diff --git a/feature/dynamodb/expression/expression.go b/feature/dynamodb/expression/expression.go index 5de9c132bf5..9dca9b68aa4 100644 --- a/feature/dynamodb/expression/expression.go +++ b/feature/dynamodb/expression/expression.go @@ -490,7 +490,7 @@ func (e Expression) returnExpression(expressionType expressionType) *string { } // exprNode are the generic nodes that represents both Operands and -// Conditions. The purpose of exprNode is to be able to call an generic +// Conditions. The purpose of exprNode is to be able to call a generic // recursive function on the top level exprNode to be able to determine a root // node in order to deduplicate name aliases. // fmtExpr is a string that has escaped characters to refer to diff --git a/feature/dynamodb/expression/operand.go b/feature/dynamodb/expression/operand.go index caf47ed6db7..01340e7cf64 100644 --- a/feature/dynamodb/expression/operand.go +++ b/feature/dynamodb/expression/operand.go @@ -241,7 +241,7 @@ func Value(value interface{}) ValueBuilder { // // The ValueBuilderOptions functional options parameter allows you to specify // how the value will be encoded. Including options like AttributeValue -// encoding struct tag. If value is already an DynamoDB AttributeValue, +// encoding struct tag. If value is already a DynamoDB AttributeValue, // encoding options will have not effect. // // Empty slices and maps will be encoded as their respective empty types.AttributeValue