vmware-tanzu / secrets-manager

VMware Secrets Manager is a lightweight secrets manager to protect your sensitive data. It’s perfect for edge deployments where energy and footprint requirements are strict—See more: https://vsecm.com/
https://vsecm.com/
BSD 2-Clause "Simplified" License
134 stars 24 forks source link

Use Go’s Native “errors” Package #1005

Closed v0lkan closed 2 weeks ago

v0lkan commented 2 weeks ago

Use Go’s Native “errors” Package

Description

This PR modifies the code and replaced third-party error-handling libraries with the native “error” package.

We mainly replace errors.Wrap() with its equivalent errors.Join().

This change reduces dependencies, probably improves performance, and also makes the codebase more secure.

Test Policy Compliance

Code Quality

Documentation

Additional Comments

Include any additional comments or context about the PR here.

Checklist

Before you submit this PR, please make sure:

By submitting this pull request, you confirm that my contribution is made under the terms of the project's license and that you have the authority to grant these rights.


Thank you for your contribution to VMware Secrets Manager 🐢⚡️!