GithubHelp home page GithubHelp logo

oolio-group / dynago Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 90 KB

Go package to help with AWS DynamoDB

Home Page: https://pkg.go.dev/github.com/oolio-group/dynago

License: MIT License

Makefile 0.89% Go 99.11%
aws-sdk-go-v2 dynamodb golang

dynago's People

Contributors

dependabot[bot] avatar omkar-dev avatar omkar-till avatar shidil avatar thusharprakash avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

thusharprakash

dynago's Issues

Update deleteItem Function to Use Client-Configured DynamoDB Table Name

Description:

Issue:
The current implementation of the deleteItem function relies on fetching the table name from the DYNAMODB_TABLE environment variable. This approach necessitates the maintenance of a separate variable (DYNAMODB_TABLE) for the function to operate correctly. This deviation from the standard configuration used across other functions introduces complexity and potential inconsistencies in the codebase.

Proposed Solution:
Modify the deleteItem function to utilize the table name configured for the DynamoDB client, aligning it with the established pattern used by other functions. This adjustment aims to improve code consistency, eliminate the need for an extra environment variable, and ensure a streamlined approach to handling DynamoDB table names.

Steps to Resolve:

Review the existing implementation of the deleteItem function.
Identify the section where the table name is fetched from the DYNAMODB_TABLE environment variable.
Update the function to use the table name configured for the DynamoDB client, consistent with other functions.
Ensure that unit tests are updated to reflect the changes and validate the correct functioning of the modified deleteItem function.
Perform manual testing to verify that the function operates as expected in various scenarios.
Expected Outcomes:

Improved code consistency by aligning the deleteItem function with the configuration pattern used by other functions.
Elimination of the need for a separate environment variable (DYNAMODB_TABLE) specific to the deleteItem function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.