nil-go / konf

The simplest config loader for Go that reads/watches from file, env, flag and clouds (AWS, Azure, GCP).
https://pkg.go.dev/github.com/nil-go/konf
MIT License
238 stars 9 forks source link

make map key case sensitive configurable #365

Closed ktong closed 4 months ago

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.9%. Comparing base (621f586) to head (742dc78). Report is 35 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/nil-go/konf/pull/365/graphs/tree.svg?width=650&height=150&src=pr&token=2LIUXHDH9J&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nil-go)](https://app.codecov.io/gh/nil-go/konf/pull/365?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nil-go) ```diff @@ Coverage Diff @@ ## main #365 +/- ## ======================================= + Coverage 82.8% 86.9% +4.1% ======================================= Files 62 27 -35 Lines 2649 1199 -1450 ======================================= - Hits 2195 1043 -1152 + Misses 371 144 -227 + Partials 83 12 -71 ``` | [Files](https://app.codecov.io/gh/nil-go/konf/pull/365?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nil-go) | Coverage Δ | | |---|---|---| | [config.go](https://app.codecov.io/gh/nil-go/konf/pull/365?src=pr&el=tree&filepath=config.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nil-go#diff-Y29uZmlnLmdv) | `100.0% <100.0%> (ø)` | | | [internal/maps/transform.go](https://app.codecov.io/gh/nil-go/konf/pull/365?src=pr&el=tree&filepath=internal%2Fmaps%2Ftransform.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nil-go#diff-aW50ZXJuYWwvbWFwcy90cmFuc2Zvcm0uZ28=) | `100.0% <100.0%> (ø)` | | | [option.go](https://app.codecov.io/gh/nil-go/konf/pull/365?src=pr&el=tree&filepath=option.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nil-go#diff-b3B0aW9uLmdv) | `100.0% <100.0%> (ø)` | | ... and [35 files with indirect coverage changes](https://app.codecov.io/gh/nil-go/konf/pull/365/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nil-go)