Skip to content
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

refactor: modify the init logic for env tag options to make it more r… #347

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

astak16
Copy link
Contributor

@astak16 astak16 commented Dec 5, 2024

The init for env tag options should handle uninitialized pointers, and using reflect.Invalid for the check would be more reasonable.

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (cb81472) to head (d693c8b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #347   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          628       625    -3     
=========================================
- Hits           628       625    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caarlos0 caarlos0 merged commit 52e7186 into caarlos0:main Dec 6, 2024
17 checks passed
@caarlos0
Copy link
Owner

caarlos0 commented Dec 6, 2024

this looks great, thanks @astak16!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants