BooleanCat / go-functional

go-functional is a library of iterators to augment the standard library
MIT License
452 stars 23 forks source link

Simplify README examples with type inference #52

Closed BooleanCat closed 1 year ago

BooleanCat commented 1 year ago

Please provide a brief description of the change.

Use Go 1.21+ type inference to make README easier to read.

Which issue does this change relate to?

https://github.com/BooleanCat/go-functional/issues/44

Contribution checklist.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (78df544) 100.00% compared to head (1128651) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #52 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 19 19 Lines 376 376 ========================================= Hits 376 376 ```

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