Skip to content

Support custom tag name for envPrefix#332

Merged
caarlos0 merged 1 commit intocaarlos0:mainfrom
sv-kozlov:add_custom_tag_prefix
Oct 8, 2024
Merged

Support custom tag name for envPrefix#332
caarlos0 merged 1 commit intocaarlos0:mainfrom
sv-kozlov:add_custom_tag_prefix

Conversation

@sv-kozlov
Copy link
Copy Markdown
Contributor

We can change "env" or "envDefault" to some other tag name. I think it would be more consistent to have opt.PrefixTagName to change the tag to "envPrefix".

This might help when migrating from other environment libraries.

* Support other names for envPrefix
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (84c7739) to head (688c4cd).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #332   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          512       517    +5     
=========================================
+ Hits           512       517    +5     

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

@caarlos0 caarlos0 merged commit 1cb1967 into caarlos0:main Oct 8, 2024
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