Skip to content

Commit

Permalink
Address misused before nouns and spelling mistake (#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
ardaozceviz authored Jan 31, 2023
1 parent 51207f8 commit c85b5f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions feature/dynamodb/expression/condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion feature/dynamodb/expression/expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion feature/dynamodb/expression/operand.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c85b5f9

Please sign in to comment.