ilyakaznacheev / cleanenv

✨Clean and minimalistic environment configuration reader for Golang
MIT License
1.66k stars 115 forks source link

added basic context to the error message on what went wrong #104

Closed jdvjdv82 closed 1 year ago

jdvjdv82 commented 2 years ago

i saw some request about adding context to the error since error like parse.bool gives me none. pls check it

ilyakaznacheev commented 1 year ago

Closes #88

codecov[bot] commented 1 year ago

Codecov Report

Merging #104 (9fb0cbd) into master (3bb055c) will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   93.67%   93.76%   +0.08%     
==========================================
  Files           1        1              
  Lines         348      353       +5     
==========================================
+ Hits          326      331       +5     
  Misses         13       13              
  Partials        9        9              
Flag Coverage Δ
unittests 93.76% <100.00%> (+0.08%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cleanenv.go 93.76% <100.00%> (+0.08%) :arrow_up: