kgaughan / gcredstash

gcredstash manages credentials using AWS Key Management Service (KMS) and DynamoDB.
Apache License 2.0
1 stars 2 forks source link

Tidying #68

Closed kgaughan closed 4 months ago

kgaughan commented 4 months ago

Summary by Sourcery

This pull request refactors the error handling in the TempFile function to use inline error checks and removes unused dependencies from the go.mod file.

sourcery-ai[bot] commented 4 months ago

Reviewer's Guide by Sourcery

This pull request focuses on tidying up the code by refactoring error handling in the TempFile function and removing unused dependencies from the go.mod file.

File-Level Changes

Files Changes
internal/testutils/testutils.go Refactored error handling to make the code more concise and readable.
go.mod Cleaned up the go.mod file by removing unused dependencies.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://sourcery.ai/dashboard): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.