Skip to content

refactor(Go): Update examples to use utils and fix var name #1860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 7, 2025

Conversation

rishav-karanjit
Copy link
Member

@rishav-karanjit rishav-karanjit commented May 5, 2025

Issue #, if available:

Description of changes:

  • Some basic refactoring only
  • Comment TODO CI for now in Golang/reviewed branch so that CI will be all green even with TODOs
  • Update Makefile for newly added item encryptor in test vector

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -109,15 +104,15 @@ func AwsKmsKeyringExample(kmsKeyID, ddbTableName string) {
// 4. Create the DynamoDb Encryption configuration for the table we will be writing to.
partitionKey := "partition_key"
sortKeyName := "sort_key"
algorithmSuiteId := mpltypes.DBEAlgorithmSuiteIdAlgAes256GcmHkdfSha512CommitKeyEcdsaP384SymsigHmacSha384
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixing this to make Go idiomatic as in https://go.dev/wiki/CodeReviewComments#initialisms

@rishav-karanjit rishav-karanjit marked this pull request as ready for review May 7, 2025 16:20
@rishav-karanjit rishav-karanjit requested a review from a team as a code owner May 7, 2025 16:20
Copy link
Contributor

@ajewellamz ajewellamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rishav-karanjit rishav-karanjit merged commit f709b9d into Golang/reviewed May 7, 2025
11 checks passed
@rishav-karanjit rishav-karanjit deleted the Golang/Examples/refactoring branch May 7, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants