1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-30 19:22:11 +00:00
miniflux-v2/internal/reader/xml
jvoisin 69be57fc9d refactor(reader): misc simplifications
- 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 also no need to assign a decoder.CharsetReader when the encoding is
  utf-8, so let's not do that anymore.
- Moreover, 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.
2025-09-29 19:46:29 +02:00
..
decoder.go refactor(reader): misc simplifications 2025-09-29 19:46:29 +02:00
decoder_test.go fix(reader): fix a crash introduced by d59990f1 2025-06-11 19:04:46 -07:00