mirror of
https://github.com/miniflux/v2.git
synced 2025-10-05 19:31:01 +00:00
- There is no need for getEncoding to return a string instead of an array of bytes, so let's make it return a []byte instead of a string. - There is no reason why the function used for decoder.CharsetReader has to be defined as a lambda instead of a proper function. One might argue the other way around, but a lambda is living on the heap, while a "real" function doesn't. |
||
---|---|---|
.. | ||
decoder.go | ||
decoder_test.go |