Skip to content

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

Merged
caarlos0 merged 1 commit intocaarlos0:mainfrom
astak16:main
Dec 6, 2024
Merged

refactor: modify the init logic for env tag options to make it more r…#347
caarlos0 merged 1 commit intocaarlos0:mainfrom
astak16:main

Conversation

@astak16
Copy link
Copy Markdown
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.

@codecov
Copy link
Copy Markdown

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
@caarlos0
Copy link
Copy Markdown
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