jmattheis / goverter

Generate type-safe Go converters by simply defining an interface
https://goverter.jmattheis.de/
MIT License
469 stars 44 forks source link

fix: map generation #127

Closed jmattheis closed 5 months ago

jmattheis commented 5 months ago

Similar to slices, nil maps should be converted to a nil map of the target type.

See #126

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (f91a936) 97.07% compared to head (bcb4a5e) 97.07%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #127 +/- ## ======================================= Coverage 97.07% 97.07% ======================================= Files 41 41 Lines 2186 2191 +5 ======================================= + Hits 2122 2127 +5 Misses 47 47 Partials 17 17 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.